golang 常用包

常用链接

https://github.com/golang-standards/project-layout/blob/master/README_zh-CN.md

常用的包

go get github.com/spf13/viper

# https://gorm.io/zh_CN/docs/connecting_to_the_database.html
go get -u gorm.io/gorm
go get -u gorm.io/driver/mysql

go get github.com/go-redis/redis/v8

go get github.com/gorilla/websocket

# http://go-colly.org/docs/introduction/start/
go get -u github.com/gocolly/colly/v2

# https://gin-gonic.com/zh-cn/docs/examples/
go get -u github.com/gin-gonic/gin