Switch from godeps to `go mod`

This commit is contained in:
Thomas Jackson 2019-01-22 11:21:57 -08:00
parent 772c3b3078
commit 279bbc307e
6 changed files with 20 additions and 27 deletions

22
Godeps/Godeps.json generated
View File

@ -1,22 +0,0 @@
{
"ImportPath": "k8s.io/git-sync",
"GoVersion": "go1.6",
"GodepVersion": "v66",
"Packages": [
"./..."
],
"Deps": [
{
"ImportPath": "github.com/golang/glog",
"Rev": "23def4e6c14b4da8ac2ed8007337bc5eb5007998"
},
{
"ImportPath": "github.com/thockin/glogr",
"Rev": "7a7f3ced4f9f52e96710761820bd85ed6c400aa5"
},
{
"ImportPath": "github.com/thockin/logr",
"Rev": "103d90809f342ce8b186c0bc903a34bc1c8007be"
}
]
}

5
Godeps/Readme generated
View File

@ -1,5 +0,0 @@
This directory tree is generated automatically by godep.
Please do not edit.
See https://github.com/tools/godep for more information.

View File

@ -38,6 +38,7 @@ fi
export CGO_ENABLED=0
export GOARCH="${ARCH}"
export GOOS="${OS}"
export GOFLAGS=-mod=vendor
go install \
-installsuffix "static" \

7
go.mod Normal file
View File

@ -0,0 +1,7 @@
module k8s.io/git-sync
require (
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b // indirect
github.com/thockin/glogr v0.0.0-20160825042232-7a7f3ced4f9f
github.com/thockin/logr v0.0.0-20160822044224-103d90809f34
)

6
go.sum Normal file
View File

@ -0,0 +1,6 @@
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b h1:VKtxabqXZkF25pY9ekfRL6a582T4P37/31XEstQ5p58=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/thockin/glogr v0.0.0-20160825042232-7a7f3ced4f9f h1:UQ/VqTtxN8EoIShWVbNR9b0/vyxKLwhV6ZGcIjZ5KB4=
github.com/thockin/glogr v0.0.0-20160825042232-7a7f3ced4f9f/go.mod h1:HRvPbLXOCiSU8hpsTlLSX4Fw6l+yF2uziElIkThrlsI=
github.com/thockin/logr v0.0.0-20160822044224-103d90809f34 h1:iVWjMSZyeDCd1D2XQkUjsAWPfvA3M4aPGGsEmxaXY1s=
github.com/thockin/logr v0.0.0-20160822044224-103d90809f34/go.mod h1:GEqn6NzwaoUO+OS+z1oR6Ka9NXmRDe3NUF5KZUAoT+I=

6
vendor/modules.txt vendored Normal file
View File

@ -0,0 +1,6 @@
# github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
github.com/golang/glog
# github.com/thockin/glogr v0.0.0-20160825042232-7a7f3ced4f9f
github.com/thockin/glogr
# github.com/thockin/logr v0.0.0-20160822044224-103d90809f34
github.com/thockin/logr