From 06323e267035c2136ca9c33fb7454aa25745ba6a Mon Sep 17 00:00:00 2001 From: "453530270@qq.com" Date: Tue, 3 Sep 2024 16:37:24 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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