feat(*): go 后端项目脚手架
This commit is contained in:
21
main.go
Normal file
21
main.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package main
|
||||
|
||||
import "github.com/zhilv666/navsite/cmd"
|
||||
|
||||
// @title 我的用户管理平台 API
|
||||
// @version 1.0
|
||||
// @description 这是一个基于 Gin 的用户管理平台后端 API 文档
|
||||
// @termsOfService http://kmux.cn
|
||||
|
||||
// @contact.name zhilv
|
||||
// @contact.url www.kmux.cn
|
||||
// @contact.email zhilv666@qq.com
|
||||
|
||||
// @license.name MIT
|
||||
// @license.url https://opensource.org/licenses/MIT
|
||||
|
||||
// @host localhost:8080
|
||||
// @BasePath /api/v1
|
||||
func main() {
|
||||
cmd.Execute()
|
||||
}
|
||||
Reference in New Issue
Block a user