Scaffold create, read, update, and delete screens for a database table in minutes using the built-in code generator.
Build a role-based access control admin dashboard where managers and staff see different menus and have different permissions.
Create custom form page layouts by dragging and dropping form elements without writing frontend code.
Manage users, departments, roles, and operation logs through a browser interface backed by a Go API.
Requires Go 1.18, Node.js, and a running database, the frontend and backend must be started as separate processes.
go-admin is a web-based administration panel framework written in Go. It gives developers a starting point for building internal management tools, typically used by teams who need to control user access, manage data, and configure business settings through a browser interface. The backend is built with Gin, a Go web framework, and uses Casbin for role-based access control (RBAC), meaning you can define which users or groups are allowed to do what. Authentication is handled with JWT tokens. The frontend connects to the API as a separate project, and developers can choose between several UI libraries: Element UI (Vue 2), Arco Design (Vue 3), or Ant Design. The system comes with a code generator that reads your database table structure and produces the standard create, read, update, and delete screens for that table, reducing repetitive setup work. There is also a form builder that lets you drag and drop elements to create custom page layouts without writing frontend code from scratch. Other built-in pieces include user management, department trees, role assignments, menu configuration, dictionary lookups, parameter management, operation logs, and basic server monitoring. Getting it running locally requires Go (version 1.18), Node.js, and a database connection. You edit a configuration file with your database details, run a migration command to set up the schema, then start the API server. A separate step starts the frontend. The project also works with Docker if you prefer containers. Swagger API documentation is generated automatically from the backend code. The project is primarily documented in Chinese with an English translation of the main README. Video tutorials on a Chinese video platform cover the setup process, permission configuration, and how to use the code generation tools. Online demos for each UI variant are publicly accessible. The repository does not yet have unit tests, which is listed as a planned addition.
← go-admin-team on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.