Golang

文档

Go语言中文网

配置

Proxy镜像

go env -w  GOPROXY=https://goproxy.cn,direct

INI配置

读取ini配置文件

依赖管理

Mod

Gin

tutorial

swagger

使用与gin集成

问题

安装swagger报错:missing dot in first path element

goroot设置有问题,不要使用软链接,使用go的真实安装目录

docker container to wait for MySQL container

app容器等待mysql容器先启动后再启动

Last updated