From 99d17024d1437e849dd2a646310933eccc27bddd Mon Sep 17 00:00:00 2001 From: Yaser Hsueh Date: Sun, 18 Jun 2023 10:27:14 +0800 Subject: [PATCH] optimize build flags --- build.sh | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 build.sh diff --git a/build.sh b/build.sh new file mode 100644 index 0000000..4269e2f --- /dev/null +++ b/build.sh @@ -0,0 +1,2 @@ +go env -w GOPRIVATE=code.simaek.com +go build -ldflags="-s -w"