提交 b0b141a3 编写于 作者: XuanDai's avatar XuanDai

Update README.md

上级 2a1e0e52
![Image text](https://codechina.csdn.net/rely_on/storage/-/raw/master/img-storage/xdorg.png)
```dx
- golang版本 >= v1.14
- IDE推荐:Goland
```
环境搭建视频:
<iframe height=498 width=510 src="http://vodkgeyttp9.vod.126.net/cloudmusic/1FgSA8LX_3222439799_sd.mp4?wsSecret=25dc3b1d0e2fcc4c65db0cab7d6f107d&wsTime=1606454043">
### 使用 go.mod
### 安装go依赖包
```dx
go list (go mod tidy)
```
### 编译
```dx
go build
```
### 运行
```dx
go run main.go
```
### 界面登陆密码
```dx
用户名:admin
密 码:admin123
```
### 整理代码结构
``` dx
gin-xdorg
├── api/v1 -- 主要API
| ├── sys_initdb.go -- ico
| └── sys_user.go --
├── config -- 配置文件 设定操作的结构体
| ├── auto_code.go -- ico captcha.go
| ├── ... -- ico captcha.go
| └── zap.go -- core
├── core -- 主要结构代码
| ├── server_other.go -- ico captcha.go
| ├── ... -- ico captcha.go
| └── zap.go --
├── docs -- 文档系统
| ├── docs.go -- ico captcha.go
| ├── swagger.json -- json
| └── swagger.yaml -- yaml
├── global -- global
├── initialize -- initialize
├── middleware -- 中间键
├── model -- global
│ ├── request -- 所有请求model结构体
| | ├── common.go
| | ├── ...
| | └── sys_user.go -- yaml
| ├── response -- 返回数据
| | ├── common.go
| | ├── ...
| | └── sys_user.go -- yaml
├── packfile -- 文件写入
├── resource -- 资源文件
├── router -- 路由
├── service -- service层
├── source -- 文件目录操作
├── utils
├── config.yaml --
├── Dockerfile -- docker配置
├── go.mod -- mod 配置
├── go.sum -- sum
├── latest_log -- vue-cli 配置
└── main.go -- package.json
```
#### License
```dx
MegEngine is Licensed under the Apache License, Version 2.0
Copyright (c) 2014-2021 Megvii Inc. All rights reserved.
```
"fzױmr^riwʉ+jfh,ځvx
%jx
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册