Skip to content

Commit 8a2f400

Browse files
committed
add a go.mod
To make it possible to fetch the beats dependency, as that's only published as a module now. Eventually we'd want to migrate all dependency information from glide.lock to go.mod Unfortunately 'go get' doesn't take into account transitive replacements, so we need to include the replacements required by beats to make the build succeed on Travis.
1 parent 7153443 commit 8a2f400

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

go.mod

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
module github.com/raboof/beats-output-http
2+
3+
go 1.14
4+
5+
require (
6+
github.com/elastic/beats/v7 v7.10.1
7+
)
8+
9+
// needed because elastic wants these replacements, and https://github.com/golang/go/issues/30354#issuecomment-466479708
10+
replace (
11+
github.com/Azure/go-autorest => github.com/Azure/go-autorest v12.2.0+incompatible
12+
github.com/Microsoft/go-winio => github.com/bi-zone/go-winio v0.4.15
13+
github.com/Shopify/sarama => github.com/elastic/sarama v1.19.1-0.20200629123429-0e7b69039eec
14+
github.com/cucumber/godog => github.com/cucumber/godog v0.8.1
15+
github.com/docker/docker => github.com/docker/engine v0.0.0-20191113042239-ea84732a7725
16+
github.com/docker/go-plugins-helpers => github.com/elastic/go-plugins-helpers v0.0.0-20200207104224-bdf17607b79f
17+
github.com/dop251/goja => github.com/andrewkroh/goja v0.0.0-20190128172624-dd2ac4456e20
18+
github.com/dop251/goja_nodejs => github.com/dop251/goja_nodejs v0.0.0-20171011081505-adff31b136e6
19+
github.com/fsnotify/fsevents => github.com/elastic/fsevents v0.0.0-20181029231046-e1d381a4d270
20+
github.com/fsnotify/fsnotify => github.com/adriansr/fsnotify v0.0.0-20180417234312-c9bbe1f46f1d
21+
github.com/google/gopacket => github.com/adriansr/gopacket v1.1.18-0.20200327165309-dd62abfa8a41
22+
github.com/insomniacslk/dhcp => github.com/elastic/dhcp v0.0.0-20200227161230-57ec251c7eb3 // indirect
23+
github.com/kardianos/service => github.com/blakerouse/service v1.1.1-0.20200924160513-057808572ffa
24+
github.com/tonistiigi/fifo => github.com/containerd/fifo v0.0.0-20190816180239-bda0ff6ed73c
25+
golang.org/x/tools => golang.org/x/tools v0.0.0-20200602230032-c00d67ef29d0 // release 1.14
26+
)

0 commit comments

Comments
 (0)