docs: show use of -tags for database selection
This commit is contained in:
parent
85147ca776
commit
fc472d144c
|
@ -87,8 +87,8 @@ pushd telebit/
|
||||||
You can build with `go build`:
|
You can build with `go build`:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go generate -mod=vendor ./...
|
go generate -mod=vendor -tags postgres ./...
|
||||||
go build -mod vendor -race -o telebit cmd/telebit/*.go
|
go build -mod vendor -tags postgres -race -o telebit cmd/telebit/*.go
|
||||||
```
|
```
|
||||||
|
|
||||||
Or with `goreleaser`:
|
Or with `goreleaser`:
|
||||||
|
|
Loading…
Reference in New Issue