Skip to content

Commit a40ba71

Browse files
authored
Update golang.org/x/crypto, switch to Go modules. (#22)
This change updates golang.org/x/crypto to address #19, while also updating the dependency management system to Go modules.
1 parent 40a3bed commit a40ba71

File tree

5 files changed

+17
-76
lines changed

5 files changed

+17
-76
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
language: go
2-
go:
3-
- "1.10.x"
4-
- "1.11.x"
2+
go:
3+
- "1.13.x"
54
install:
6-
- go get -u github.com/golang/dep/cmd/dep
5+
- go mod download
76
script:
87
- make
98
- make test

Gopkg.lock

Lines changed: 0 additions & 36 deletions
This file was deleted.

Gopkg.toml

Lines changed: 0 additions & 34 deletions
This file was deleted.

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ BINARY = ssl-proxy
22

33
.PHONY: build
44
build:
5-
dep ensure
5+
go mod download
66
go build -o ${BINARY}
77

88
.PHONY: test
@@ -16,7 +16,7 @@ run:
1616

1717
.PHONY: release
1818
release:
19-
dep ensure
19+
go mod download
2020
GOOS=linux GOARCH=amd64 go build -o build/${BINARY}-linux-amd64 .;
2121
GOOS=darwin GOARCH=amd64 go build -o build/${BINARY}-darwin-amd64 .;
2222
GOOS=windows GOARCH=amd64 go build -o build/${BINARY}-windows-amd64.exe .;

go.mod

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
module github.com/suyashkumar/ssl-proxy
2+
3+
go 1.13
4+
5+
require (
6+
github.com/davecgh/go-spew v1.1.1
7+
github.com/pmezard/go-difflib v1.0.0
8+
github.com/stretchr/testify v1.2.2
9+
golang.org/x/crypto v0.0.0-20191206172530-e9b2fee46413
10+
golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553
11+
golang.org/x/text v0.3.2
12+
)

0 commit comments

Comments
 (0)