You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GoAdmin is a data visualization management platform, providing a complete set of visual ui calls to golang programs, and a built-in sql relational database management backend plugin.
4
+
GoAdmin is a framework, providing a complete set of visual UI calls to golang programs, and a built-in sql relational database management backend plugin.
5
5
<br>
6
6
<br>
7
-
Before we build a management backend, we needed at least one back office engineer, a front-end engineer, to take at least a week.
8
-
Now with GoAdmin, we don't need front-end engineers. Our back-end engineers don't even need to know the front-end knowledge. We can build a complete back-end management system in half an hour.
9
-
If your requirements are not complicated, just simple crud, then all you need are serveral golang files, and all files can be packaged into a single binary file, which is very convenient for distribution and deployment.
7
+
In the past, when we try to build an administrative platform, we needed at least one backend IT engineer, a front-end IT engineer, taking at least a week work.
8
+
Now with GoAdmin, we don't need front-end IT engineers. Our back-end IT engineers don't even need to know the front-end knowledge. We can build a complete administrative platform or a data visualization platform in half an hour.
9
+
If your requirements are not so complicated, just simple crud, then all you need are serveral golang files, and all files can be packaged into a single binary file, which is very convenient for distribution and deployment.
10
10
11
-
here is very simple example which show you how it work: [https://github.com/GoAdminGroup/example](https://github.com/GoAdminGroup/example)
11
+
Here is a super simple example which quickly shows you how it works: [https://github.com/GoAdminGroup/example](https://github.com/GoAdminGroup/example)
12
12
13
13
14
14
## Features
@@ -18,9 +18,9 @@ here is very simple example which show you how it work: [https://github.com/GoAd
18
18
- Support plug-ins(working on it)
19
19
- Provided different ui theme(only Adminlte now, others are coming soon.)
The authentication user table of the framework is the most basic information, if you need to customize a lot of extra information, such as mobile phone/IP/gender, etc. You can custom an authentication user table.
5
+
6
+
First, you need to prepare your own user table. Such as: goadmin_super_manager。And then modify configuration item ```auth_user_table``` in the global configuration. Then generate data model file, overwriting the official user table model file:
7
+
8
+
**Note: the user table fields remain with the official line, then on the basis of the official user table field extension.**
9
+
10
+
```go
11
+
import (
12
+
...
13
+
"github.com/GoAdminGroup/go-admin/engine"
14
+
...
15
+
)
16
+
17
+
funcmain() {
18
+
19
+
...
20
+
21
+
eng:= engine.Default()
22
+
23
+
cfg:= config.Config{
24
+
...
25
+
AuthUserTable: "goadmin_super_manager",
26
+
...
27
+
}
28
+
29
+
iferr:= eng.AddConfig(cfg).
30
+
// Super administrator access, data model logic can refer to the official documents:https://github.com/GoAdminGroup/go-admin/blob/master/plugins/admin/modules/table/generators.go#L40
After set up your cdn, you should keep the assets/dist directory. Which means if your cdn address is https://xxxx-cdn.xxxx.com. Then the resource request url is like: https://xxxx-cdn.xxxx.com/assets/dist/css/..../xxxx.css
12
+
13
+
To take effect also need to set in the global configuration: asset_url items.
// returns a []string here, the corresponding value is ultimately responds field values of this column, the corresponding value is displayed when edit form
// returns a []string here, the corresponding value is ultimately responds field values of this column, the corresponding value is displayed when edit form
0 commit comments