Skip to content

Commit

Permalink
Fix build for sqlite3
Browse files Browse the repository at this point in the history
  • Loading branch information
ghokun committed Sep 12, 2023
1 parent ce52569 commit 11dc270
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ before:
- go mod tidy
builds:
- env:
- CGO_ENABLED=0
- CGO_ENABLED=1
goos:
- linux
- windows
Expand Down
4 changes: 1 addition & 3 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@ import (

var Version = "development"

const (
usage = `coyote [global options]
const usage = `coyote [global options]
Examples:
coyote --url amqps://user@myurl --exchange myexchange --store events.sqlite
Expand All @@ -36,7 +35,6 @@ Exchange binding formats:
--exchange myexchange1,myexchange2 # All messages in multiple exchanges
--exchange myexchange1=mykey1,myexchange2=mykey2 # Messages with routing keys in multiple exchanges
--exchange myexchange1,myexchange2=mykey2 # Messages with or without routing keys in multiple exchanges`
)

type listen struct {
c []combination
Expand Down

0 comments on commit 11dc270

Please sign in to comment.