From 7b31b77c731f53c16b5cc1721316c0cc6b87144d Mon Sep 17 00:00:00 2001 From: Dimas Restu H Date: Tue, 26 Apr 2022 04:38:38 +0700 Subject: [PATCH] update fix goreleaser build need cgo enabled cause of go-sqlite is using c module --- .goreleaser.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 63d5689..ccb5ff1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -4,7 +4,7 @@ before: builds: - main: ./cmd/main/main.go env: - - CGO_ENABLED=0 + - CGO_ENABLED=1 ldflags: - -s -w goos: