Browse Source
Merge pull request #41 from piexlmax/gin-vue-admin_v2_dev
Gin vue admin v2 dev
main
rainyan
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
5 additions and
4 deletions
-
README-zh_CN.md
-
README.md
|
@ -79,6 +79,7 @@ go build |
|
|
```` |
|
|
```` |
|
|
go get -u github.com/swaggo/swag/cmd/swag |
|
|
go get -u github.com/swaggo/swag/cmd/swag |
|
|
```` |
|
|
```` |
|
|
|
|
|
|
|
|
#####(2)无法翻墙 |
|
|
#####(2)无法翻墙 |
|
|
由于国内没法安装 go.org/x 包下面的东西,需要先安装`gopm` |
|
|
由于国内没法安装 go.org/x 包下面的东西,需要先安装`gopm` |
|
|
|
|
|
|
|
@ -140,7 +141,7 @@ go run main.go; |
|
|
## 4. 项目目录 |
|
|
## 4. 项目目录 |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
├─erver (后端文件夹) |
|
|
|
|
|
|
|
|
├─server (后端文件夹) |
|
|
│ ├─api (API) |
|
|
│ ├─api (API) |
|
|
│ ├─config (配置包) |
|
|
│ ├─config (配置包) |
|
|
│ ├─core (內核) |
|
|
│ ├─core (內核) |
|
@ -152,7 +153,7 @@ go run main.go; |
|
|
│ ├─model (结构体层) |
|
|
│ ├─model (结构体层) |
|
|
│ ├─resource (资源) |
|
|
│ ├─resource (资源) |
|
|
│ ├─router (路由) |
|
|
│ ├─router (路由) |
|
|
│ └─urtils (公共功能) |
|
|
|
|
|
|
|
|
│ └─utils (公共功能) |
|
|
└─web (前端文件) |
|
|
└─web (前端文件) |
|
|
├─public (发布模板) |
|
|
├─public (发布模板) |
|
|
└─src (源码包) |
|
|
└─src (源码包) |
|
|
|
@ -138,7 +138,7 @@ go run main.go; |
|
|
## 4. Project layout |
|
|
## 4. Project layout |
|
|
|
|
|
|
|
|
``` |
|
|
``` |
|
|
├─server (backend) |
|
|
|
|
|
|
|
|
├─server (backend) |
|
|
│ ├─api (API entrance) |
|
|
│ ├─api (API entrance) |
|
|
│ ├─config (config file) |
|
|
│ ├─config (config file) |
|
|
│ ├─core (core code) |
|
|
│ ├─core (core code) |
|
@ -151,7 +151,7 @@ go run main.go; |
|
|
│ ├─resource (resources, such as static pages, templates) |
|
|
│ ├─resource (resources, such as static pages, templates) |
|
|
│ ├─router (routers) |
|
|
│ ├─router (routers) |
|
|
│ └─utils (common utilities) |
|
|
│ └─utils (common utilities) |
|
|
└─web (frontend) |
|
|
|
|
|
|
|
|
└─web (frontend) |
|
|
├─public (deploy templates) |
|
|
├─public (deploy templates) |
|
|
└─src (source code) |
|
|
└─src (source code) |
|
|
├─api (frontend APIs) |
|
|
├─api (frontend APIs) |
|
|