1. sudo vi /etc/hosts

2.按顺序输入以下内容

255.255.255.255 broadcasthost
127.0.0.1       localhost
::1             localhost

golang 连接 mysql 数据库

参考 https://tutorialedge.net/golang/golang-mysql-tutorial/ 使用文档 : https://sqlchoice.azurewebsites.net/en-us/sql-server/developer-get-started...

阅读全文

centos yum 安装golang

Centos # Current version: 1.12.5 $ rpm --import https://mirror.go-repo.io/centos/RPM-GPG-KEY-GO-REPO $ curl -s https://mirror.go-repo.io/centos/go-...

阅读全文

欢迎留言