command
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 22, 2020
License: MIT
Opens a new window with license information.
Imports: 13
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
goadmin
Go开发后台管理系统,将前端资源一起编译,是不是很酷?!
Features
Requirements
Go1.11+
Usage
- 下载
goadmin
并解压
- 执行
go mod download
- 创建数据库后导入
goadmin.sql
- 创建配置文件
yiigo.toml
并配置数据库连接,参考 yiigo.toml.example
编译前端资源
- 安装
go.rice
工具,参考 go.rice
- 在
assets
与 views
目录下分别执行 rice embed-go
- 最后
go build -o goadmin
⚠️ 注意
项目使用了 gracehttp,Windows下不支持,如需编译 Windows 版本,建议去掉
默认登录账号:admin admin
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
Package consts ... |
|
|
|
|
|
Package helpers ... |
|
|
|
|
|
|
|
|
|
|
|
Package session ... |
|
|
Click to show internal directories.
Click to hide internal directories.