# 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
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
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
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
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# README
golang基础库
Golang入门
如何避免循环引用
例如:services包引用了models包文件,则models包内容不能再import services的内容否则会编译错误
1.下载方式
要求:go version>=1.13
export GOPROXY=https://goproxy.cn
#export GOPRIVATE=github.com
git config --global url."[email protected]:".insteadOf "https://github.com/"
go get github.com/cube-group/golib
2.使用方法
3.http请求
4.配置文件
golib要求标准配置文件必须使用yaml格式,可轻松使用viper配置文件、mysql、redis和elasticearch
5.web服务
6.代码分页
7.标准输出流日志
8.业务类日志
9.分析类日志
注意:LogName需要提前向王新老师申请