Skip to content

Commit

Permalink
switch to go modules
Browse files Browse the repository at this point in the history
  • Loading branch information
err0r500 committed Feb 9, 2020
1 parent d752ac3 commit 589f5e8
Show file tree
Hide file tree
Showing 6 changed files with 163 additions and 363 deletions.
296 changes: 0 additions & 296 deletions Gopkg.lock

This file was deleted.

62 changes: 0 additions & 62 deletions Gopkg.toml

This file was deleted.

4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ BUILD=$(shell git rev-parse HEAD 2> /dev/null || echo "undefined")
LDFLAGS=-ldflags "-X main.Version=$(VERSION) -X main.Build=$(BUILD)"

all:
go build -o $(BINARY) $(LDFLAGS)
GO111MODULE=on go build -o $(BINARY) $(LDFLAGS)

init:
git config core.hooksPath .githooks
Expand All @@ -29,7 +29,7 @@ latest:
-f Dockerfile --no-cache .

test:
go test ./...
GO111MODULE=on go test ./...

clean:
if [ -f $(BINARY) ] ; then rm $(BINARY) ; fi
Expand Down
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ Layers ( from the most abstract to the most concrete ) :
- testability

# Getting started
### Install dependencies
### Build the app
```
go get -u github.com/golang/dep/cmd/dep
$GOPATH/bin/dep ensure
make
```
### Run the app
Expand Down
Loading

0 comments on commit 589f5e8

Please sign in to comment.