Skip to content

Commit

Permalink
Migrated to go module
Browse files Browse the repository at this point in the history
Updated Libraries
  • Loading branch information
christianwoehrle committed May 2, 2020
1 parent 4834d5f commit d379a7c
Show file tree
Hide file tree
Showing 7 changed files with 156 additions and 286 deletions.
Empty file modified Dockerfile
100755 → 100644
Empty file.
237 changes: 0 additions & 237 deletions Gopkg.lock

This file was deleted.

42 changes: 0 additions & 42 deletions Gopkg.toml

This file was deleted.

6 changes: 1 addition & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ PROJECT_NAME := alertmanager-sns-forwarder
GOFILES:=$(shell find . -name '*.go' | grep -v -E '(./vendor)')


all: clean dep test bin
all: clean test bin

bin: bin/linux/${PROJECT_NAME}

Expand All @@ -15,10 +15,6 @@ bin/%: $(GOFILES)
test:
CGO_ENABLED=0 go test github.com/DataReply/${PROJECT_NAME}/...

dep:
go get -u github.com/golang/dep/cmd/dep
dep ensure -vendor-only

clean:
rm -rf bin

Expand Down
12 changes: 12 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
module github.com/DataReply/alertmanager-sns-forwarder

go 1.14

require (
github.com/aws/aws-sdk-go v1.30.7
github.com/gin-gonic/gin v1.6.2
github.com/linki/instrumented_http v0.3.0
github.com/prometheus/client_golang v1.5.1
github.com/sirupsen/logrus v1.5.0
gopkg.in/alecthomas/kingpin.v2 v2.2.6
)
Loading

0 comments on commit d379a7c

Please sign in to comment.