golang学习笔记 anjunNote 2019-09-06 191 阅读1分钟 go module开启后,工程不在gopath目录下,goland ide找不到import 解决方法: go mod tidy 自动更新go.mod 文件 export GOPROXY=https://mirrors.aliyun.com/goproxy/ export GOMODULE111=on date format today := time.Now().Format("Jan 02 2006")