package
0.0.0-20240325132916-93144e6ac87e
Repository: https://github.com/everywan/demo-server-go.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Print your build info Need add build flags go build -ldflags " -X 'github.com/everywan/commons/utils.AppName=${APP_NAME}' \ -X 'github.com/everywan/commons/utils.AppVersion=${APP_VERSION}' \ -X 'github.com/everywan/commons/utils.BuildVersion=${BUILD_VERSION}' \ -X 'github.com/everywan/commons/utils.BuildTime=${BUILD_TIME}' \ -X 'github.com/everywan/commons/utils.GitRevision=${GIT_REVISION}' \ -X 'github.com/everywan/commons/utils.GitBranch=${GIT_BRANCH}' \ -X 'github.com/everywan/commons/utils.GoVersion=${GO_VERSION}' \ -s -w " -mod vendor -v -o $(NAME) ${MAIN} */.
SafeGo async run a func.
SafeGoWithError async run a func with error.
SafeRun sync run a func.
SafeRun sync run a func with error.

# Constants

CI 环境.
开发环境.
生产环境.
测试环境.
非联调环境部署Id.

# Variables

应用名称.
应用版本.
编译时间.
编译版本.
Git分支.
Git版本.
Golang信息.