
set CGO_ENABLED=0
set GOOS=linux
    set GOARCH=amd6
go build -o main-linux main.go

 chmod 777 main-linux
> ./main-linux


docker run --restart=always --name mysql -ivileged=true -d -p 3306:3306 -v /home/lijiali/conf/my.cnf:/etc/mysql/my.cnf -v /home/lijiali/logs:/logs -v /home/lijiali/data:/var/lib/mysql -e MYSQL_ROOT_PASSWORD=psGCMSfy9Vds mysql:8.0.34

