28 lines
454 B
Markdown
28 lines
454 B
Markdown
# d2admin-service
|
||
|
||
#### Description
|
||
前端:https://gitee.com/d2-projects/d2-admin-start-kit
|
||
后端从零开始。无依赖Casbin,无二次封装,适合学习。
|
||
|
||
### 文档地址
|
||
```text
|
||
# gin
|
||
https://gin-gonic.com/docs/quickstart
|
||
# gorm
|
||
https://gorm.io/zh_CN/docs/index.html
|
||
```
|
||
### golang版本
|
||
```text
|
||
go1.21.5 darwin/amd64
|
||
```
|
||
|
||
### 安装依赖并启动
|
||
```bash
|
||
go mod tidy
|
||
go run main.go
|
||
```
|
||
|
||
### 构建
|
||
```bash
|
||
go build -o d2admin-service
|
||
``` |