创建一个module(逻辑概念)
#The go mod init command initializes and writes a new go.mod file in the current directory, in effect creating
#a new module rooted at the current directory.
#specify a module path that serves as the module’s name.
go mod initclon…
一、mysql安装
简单安装
docker run -d \--name mysql \-p 3306:3306 \-e TZAsia/Shanghai \-e MYSQL_ROOT_PASSWORD123 \mysql mysql容器本地挂载
cd /usr
mkdir mysql
cd mysql/
mkdir data
mkdir conf
mkdir init可以手动导入自己的数据库信息 docker run -d \--name mys…