创建工程 go mod init xxx.xxx.xxx
go get gitee.com/ichub/goweb
执行 goweb install -h
WARNING[2024-07-74 17:11:15]C:/Users/admin/go/pkg/mod/gitee.com/ichub/[email protected]/common/base/baseutils/goutils/gofile_util.go:94 gitee.com/i hub/goconfig/common/base/baseutils/goutils.(*GofileUtil).CheckFileExist() file not exists !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