diff --git a/README.md b/README.md index 4d118cb..7c01004 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ # go 工具集合 -mysqlbk_v1 mysql备份工具v1 版本 \ No newline at end of file +GO版本 go version go1.22.1 windows/amd64 + +Windows下编译成linux的运行程序 需要预先设置如下的参数: + +``` +set GOOS=linux +set GOARCH=amd64 +set CGO_ENABLED=0 +go build -o mtool main.go +``` + +1、mysqlbk_v1 mysql备份工具v1 版本 \ No newline at end of file