Skip to content

Commit

Permalink
Update golang.org/x/crypto, switch to Go modules. (#22)
Browse files Browse the repository at this point in the history
This change updates golang.org/x/crypto to address #19, while also updating the dependency management system to Go modules.
  • Loading branch information
suyashkumar committed Dec 19, 2019
1 parent 40a3bed commit a40ba71
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 76 deletions.
7 changes: 3 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
language: go
go:
- "1.10.x"
- "1.11.x"
go:
- "1.13.x"
install:
- go get -u github.com/golang/dep/cmd/dep
- go mod download
script:
- make
- make test
36 changes: 0 additions & 36 deletions Gopkg.lock

This file was deleted.

34 changes: 0 additions & 34 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 @@ -2,7 +2,7 @@ BINARY = ssl-proxy

.PHONY: build
build:
dep ensure
go mod download
go build -o ${BINARY}

.PHONY: test
Expand All @@ -16,7 +16,7 @@ run:

.PHONY: release
release:
dep ensure
go mod download
GOOS=linux GOARCH=amd64 go build -o build/${BINARY}-linux-amd64 .;
GOOS=darwin GOARCH=amd64 go build -o build/${BINARY}-darwin-amd64 .;
GOOS=windows GOARCH=amd64 go build -o build/${BINARY}-windows-amd64.exe .;
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/suyashkumar/ssl-proxy

go 1.13

require (
github.com/davecgh/go-spew v1.1.1
github.com/pmezard/go-difflib v1.0.0
github.com/stretchr/testify v1.2.2
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
golang.org/x/text v0.3.2
)

0 comments on commit a40ba71

Please sign in to comment.