1、命令行按照报错
直接git clone 下来到本地。
D:\Program Files\Go\src\github.com\gin-gonic\gin
2、Git报错解决:fatal: unable to access ‘https://github.com/.......‘: OpenSSL SSL_read: Connection was reset
参考网上解决办法:解除ssl验证后,再次git即可
git config --global http.sslVerify "false"
https://blog.csdn.net/qq_40999917/article/details/116213557
3、总是报红和
cannot find package "github.com/go-sql-driver/mysql" in any of
go mod init gin
go mod edit -require github.com/gin-gonic/gin@latest
go mod vendor
https://blog.csdn.net/u013964761/article/details/115629122