From fc472d144c461a37fff9cc41de1b592a64b9100f Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 12 Oct 2021 11:36:36 -0600 Subject: [PATCH] docs: show use of -tags for database selection --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 00e6270..40120d1 100644 --- a/README.md +++ b/README.md @@ -87,8 +87,8 @@ pushd telebit/ You can build with `go build`: ```bash -go generate -mod=vendor ./... -go build -mod vendor -race -o telebit cmd/telebit/*.go +go generate -mod=vendor -tags postgres ./... +go build -mod vendor -tags postgres -race -o telebit cmd/telebit/*.go ``` Or with `goreleaser`: