Skip to content

Commit 98a11de

Browse files
committed
Enabled go vet, converted to go mod
1 parent 40b43be commit 98a11de

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ go:
99
- 1.13.x
1010

1111
# Environment variables
12-
#env:
13-
# - GO111MODULE=on
12+
env:
13+
- GO111MODULE=on
1414

1515
# Only clone the most recent commit
1616
git:
@@ -28,4 +28,4 @@ before_script:
2828
script:
2929
- golint
3030
- go test -v ./...
31-
#- go vet (skipping for now since validation_test.go has an issue)
31+
- go vet -copylocks=false

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/mrz1836/go-validate
2+
3+
go 1.13

0 commit comments

Comments
 (0)