CSDN
goweb: https://gitee.com/ichub/goweb/settings#index
创建工程 go mod init xxx.xxx.xxx
go get gitee.com/ichub/goweb
执行 goweb install -h
!C:\Users\admin\go\src\newinstallgo.mod
install
Usage:
goweb install [flags]
goweb install [command]
Available Commands:
all all for cmd config webserver
cmd cmd of goweb
config config of goweb
web web of goweb
Flags:
-h, --help help for install
Use "goweb install [command] --help" for more information about a command.
PS C:\Users\admin\go\src\newinstall>
执行goweb install all
执行goinstall.bat
go.mod增加
replace google.golang.org/grpc => google.golang.org/grpc v1.26.0 // indirect
swagger http://localhost:88/swagger/index.html#/
执行swagger 接口
go家住