module
0.0.0-20230315140802-2beabf4b3e9f
Repository: https://github.com/webee/x.git
Documentation: pkg.go.dev
# README
x
自用golang工具库
xconfig
TODO
xswagger
安装start_swagger
# go get github.com/webee/x/xswagger/start_swagger
自定义cmd start swagger
package main
import (
"github.com/webee/x/xswagger/cmd"
//change to your path
"path/to/your/docs"
)
func main() {
docs.SwaggerInfo.Host = cmd.GetConfig().APP.Host
cmd.Start()
}
# Packages
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
Package xlog 会 返回一个固定的 logrus logger 可以自己用 也可以传给别的应用 用来统一日志格式.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author