From 9a41a06c4398c20728fb531713bf9c4d82c11548 Mon Sep 17 00:00:00 2001 From: Alexjander Bacalso Date: Wed, 13 Oct 2021 14:36:23 +0800 Subject: [PATCH] fix: replace DEP to GoMod Signed-off-by: Alexjander Bacalso --- .travis.yml | 4 ++-- go.mod | 10 ++++++++++ go.sum | 6 ++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 go.mod create mode 100644 go.sum diff --git a/.travis.yml b/.travis.yml index e68da26..9ad581b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,6 @@ go: - tip script: - - curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh - - dep ensure + - 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=