diff --git a/.travis.yml b/.travis.yml index 3f76b2d..6e6e374 100644 --- a/.travis.yml +++ b/.travis.yml @@ -10,7 +10,8 @@ go: - "1.16.x" - master -script: - - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - - dep ensure + +script: + - go mod tidy + - go mod vendor - go test ./... diff --git a/go.mod b/go.mod new file mode 100644 index 0000000..1878f0c --- /dev/null +++ b/go.mod @@ -0,0 +1,10 @@ +module github.com/XanderDwyl/libphonenumber + +go 1.17 + +require ( + github.com/golang/protobuf v1.0.0 + github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 +) + +require golang.org/x/sync v0.0.0-20210220032951-036812b2e83c // indirect diff --git a/go.sum b/go.sum new file mode 100644 index 0000000..c673f6f --- /dev/null +++ b/go.sum @@ -0,0 +1,6 @@ +github.com/golang/protobuf v1.0.0 h1:lsek0oXi8iFE9L+EXARyHIjU5rlWIhhTkjDz3vHhWWQ= +github.com/golang/protobuf v1.0.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= +github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2 h1:5u+EJUQiosu3JFX0XS0qTf5FznsMOzTjGqavBGuCbo0= +github.com/ttacon/builder v0.0.0-20170518171403-c099f663e1c2/go.mod h1:4kyMkleCiLkgY6z8gK5BkI01ChBtxR0ro3I1ZDcGM3w= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c h1:5KslGYwFpkhGh+Q16bwMP3cOontH8FOep7tGV86Y7SQ= +golang.org/x/sync v0.0.0-20210220032951-036812b2e83c/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=