Categorygithub.com/cube-group/golib
module
1.0.1
Repository: https://github.com/cube-group/golib.git
Documentation: pkg.go.dev

# 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需要提前向王新老师申请

10.发送钉钉webhook

11.nsq队列使用

12.快速并发执行

13.熔断类库使用

14.api网关识别

如何校验请求是否来自于api网关

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
Author: linyangDate: 2020-07ms-bas基础微服务认证相关方法.
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
Author: chenqionghe Time: 2018-10 分页相关操作.
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