8000 GitHub - zntoast/MallChat-Go
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

zntoast/MallChat-Go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

项目导航

  • 原项目地址: AMllChat-抹茶
  • 使用Go语言重构的项目
  • 此项目仅供学习交流使用,请勿用于商业用途。

api 文件快速生成go开发环境

    -- 生成api文件
    goctl api go  -api .\app\user\api\usercenter.api --dir .\app\user\
    j
    -- 生成model文件
    goctl model mysql datasource -url="root:password@tcp(127.0.0.1)/mallchatgo" -table="*"  -dir="./app/user/model"

    -- 生成api文档(go install github.com/zeromicro/goctl-swagger@latest)
    goctl api plugin -p goctl-swagger="swagger -filename user.json" --api .\app\user\api\usercenter.api --dir .

    -- 启动项目
    go run .\app\user\usercenter.go -f .\app\user\etc\usercenter.yaml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0