Skip to content

infraboard/demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

demo

测试

架构图

快速开发

make脚手架

➜  demo git:(master) ✗ make help
dep                            Get the dependencies
lint                           Lint Golang files
vet                            Run go vet
test                           Run unittests
test-coverage                  Run tests with coverage
build                          Local build
linux                          Linux build
run                            Run Server
clean                          Remove previous build
help                           Display this help screen
  1. 使用go mod下载项目依赖
$ make dep
  1. 添加配置文件(默认读取位置: etc/demo.toml)
$ 编辑样例配置文件 etc/demo.toml.example
$ mv etc/demo.toml.example etc/demo.toml
  1. 启动服务
$ make run

相关文档

Releases

No releases published

Packages

No packages published