Skip to content

Commit

Permalink
Move Heimdall to go mod (#60)
Browse files Browse the repository at this point in the history
* Move Heimdall to go mod
  • Loading branch information
rShetty committed Dec 22, 2018
1 parent 5981262 commit 888b981
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 127 deletions.
70 changes: 0 additions & 70 deletions Gopkg.lock

This file was deleted.

46 changes: 0 additions & 46 deletions Gopkg.toml

This file was deleted.

18 changes: 7 additions & 11 deletions Makefile
Expand Up @@ -5,29 +5,25 @@ ALL_PACKAGES=$(shell go list ./... | grep -v "vendor")

setup:
mkdir -p $(GOPATH)/bin
go get -u github.com/golang/dep/cmd/dep
go get -u golang.org/x/lint/golint

build-deps:
dep ensure

compile:
mkdir -p out/
go build -race ./...
env GO111MODULE=on go build -race ./...

build: build-deps compile fmt vet lint
build: compile fmt vet lint

fmt:
go fmt ./...
env GO111MODULE=on go fmt ./...

vet:
go vet ./...
env GO111MODULE=on go vet ./...

lint:
golint -set_exit_status $(ALL_PACKAGES)
env GO111MODULE=on golint -set_exit_status $(ALL_PACKAGES)

test: build-deps fmt vet build
ENVIRONMENT=test go test -race ./...
test: fmt vet build
GO111MODULE=on ENVIRONMENT=test go test -race ./...

test-cover-html:
@echo "mode: count" > coverage-all.out
Expand Down
14 changes: 14 additions & 0 deletions go.mod
@@ -0,0 +1,14 @@
module github.com/gojektech/heimdall

require (
github.com/afex/hystrix-go v0.0.0-20180209013831-27fae8d30f1a
github.com/davecgh/go-spew v1.1.0 // indirect
github.com/gojektech/valkyrie v0.0.0-20180215180059-6aee720afcdf
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e // indirect
github.com/jtolds/gls v4.2.1+incompatible // indirect
github.com/pkg/errors v0.8.0
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d // indirect
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c // indirect
github.com/stretchr/testify v1.2.1
)
20 changes: 20 additions & 0 deletions go.sum
@@ -0,0 +1,20 @@
github.com/afex/hystrix-go v0.0.0-20180209013831-27fae8d30f1a h1:kUr+IdWoKBJQ+e0LC/ysc1w5clvmxbvNNE+lK2yGPrQ=
github.com/afex/hystrix-go v0.0.0-20180209013831-27fae8d30f1a/go.mod h1:SkGFH1ia65gfNATL8TAiHDNxPzPdmEL5uirI2Uyuz6c=
github.com/davecgh/go-spew v1.1.0 h1:ZDRjVQ15GmhC3fiQ8ni8+OwkZQO4DARzQgrnXU1Liz8=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/gojektech/valkyrie v0.0.0-20180215180059-6aee720afcdf h1:WUa/Tvd+vZuW17gOND3CryHvG0yc2nhC1gr+H2F7bFM=
github.com/gojektech/valkyrie v0.0.0-20180215180059-6aee720afcdf/go.mod h1:tDYRk1s5Pms6XJjj5m2PxAzmQvaDU8GqDf1u6x7yxKw=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e h1:JKmoR8x90Iww1ks85zJ1lfDGgIiMDuIptTOhJq+zKyg=
github.com/gopherjs/gopherjs v0.0.0-20181103185306-d547d1d9531e/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
github.com/jtolds/gls v4.2.1+incompatible h1:fSuqC+Gmlu6l/ZYAoZzx2pyucC8Xza35fpRVWLVmUEE=
github.com/jtolds/gls v4.2.1+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfVYBRgL+9YlvaHOwJU=
github.com/pkg/errors v0.8.0 h1:WdK/asTD0HN+q6hsWO3/vpuAkAr+tw6aNJNDFFf0+qw=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d h1:zE9ykElWQ6/NYmHa3jpm/yHnI4xSofP+UP6SpjHcSeM=
github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod h1:OnSkiWE9lh6wB0YB77sQom3nweQdgAjqCqsofrRNTgc=
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c h1:Ho+uVpkel/udgjbwB5Lktg9BtvJSh2DT0Hi6LPSyI2w=
github.com/smartystreets/goconvey v0.0.0-20181108003508-044398e4856c/go.mod h1:XDJAKZRPZ1CvBcN2aX5YOUTYGHki24fSF0Iv48Ibg0s=
github.com/stretchr/testify v1.2.1 h1:52QO5WkIUcHGIR7EnGagH88x1bUzqGXTC5/1bDTUQ7U=
github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=

0 comments on commit 888b981

Please sign in to comment.