Switch to dep for vendoring

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2018-05-05 16:56:20 +02:00
parent 37d48b41f8
commit efb89cf600
No known key found for this signature in database
GPG Key ID: DC2729FDD34BE99E
5 changed files with 129 additions and 91 deletions

85
Godeps/Godeps.json generated
View File

@ -1,85 +0,0 @@
{
"ImportPath": "github.com/Luzifer/ots",
"GoVersion": "go1.8",
"GodepVersion": "v79",
"Deps": [
{
"ImportPath": "github.com/Luzifer/go_helpers/accessLogger",
"Comment": "v2.2.0",
"Rev": "e31c3a2659d3f4901f696692cfe98bd0eb5168f9"
},
{
"ImportPath": "github.com/Luzifer/go_helpers/http",
"Comment": "v2.2.0",
"Rev": "e31c3a2659d3f4901f696692cfe98bd0eb5168f9"
},
{
"ImportPath": "github.com/Luzifer/rconfig",
"Comment": "v1.2.0",
"Rev": "7aef1d393c1e2d0758901853b59981c7adc67c7e"
},
{
"ImportPath": "github.com/gorilla/context",
"Rev": "1c83b3eabd45b6d76072b66b746c20815fb2872d"
},
{
"ImportPath": "github.com/gorilla/mux",
"Rev": "49c024275504f0341e5a9971eb7ba7fa3dc7af40"
},
{
"ImportPath": "github.com/nicksnyder/go-i18n/i18n",
"Comment": "v1.8.1",
"Rev": "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
},
{
"ImportPath": "github.com/nicksnyder/go-i18n/i18n/bundle",
"Comment": "v1.8.1",
"Rev": "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
},
{
"ImportPath": "github.com/nicksnyder/go-i18n/i18n/language",
"Comment": "v1.8.1",
"Rev": "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
},
{
"ImportPath": "github.com/nicksnyder/go-i18n/i18n/translation",
"Comment": "v1.8.1",
"Rev": "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
},
{
"ImportPath": "github.com/pelletier/go-toml",
"Comment": "v1.0.0-7-g69d355d",
"Rev": "69d355db5304c0f7f809a2edc054553e7142f016"
},
{
"ImportPath": "github.com/satori/uuid",
"Comment": "v1.1.0-8-g5bf94b6",
"Rev": "5bf94b69c6b68ee1b541973bb8e1144db23a194b"
},
{
"ImportPath": "github.com/sirupsen/logrus",
"Comment": "v1.0.0-4-g59d0ca4",
"Rev": "59d0ca41e5faad81cac03f7a7d84ba80d9cc9673"
},
{
"ImportPath": "github.com/spf13/pflag",
"Rev": "e57e3eeb33f795204c1ca35f56c44f83227c6e66"
},
{
"ImportPath": "github.com/xuyu/goredis",
"Rev": "300f7e8cf453e2ea44337b3969d3aecf1a92ebe3"
},
{
"ImportPath": "golang.org/x/sys/unix",
"Rev": "739734461d1c916b6c72a63d7efda2b27edb369f"
},
{
"ImportPath": "gopkg.in/validator.v2",
"Rev": "07ffaad256c8e957050ad83d6472eb97d785013d"
},
{
"ImportPath": "gopkg.in/yaml.v2",
"Rev": "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b"
}
]
}

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.

86
Gopkg.lock generated Normal file
View File

@ -0,0 +1,86 @@
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
[[projects]]
name = "github.com/Luzifer/go_helpers"
packages = [
"accessLogger",
"http"
]
revision = "e31c3a2659d3f4901f696692cfe98bd0eb5168f9"
version = "v2.2.0"
[[projects]]
name = "github.com/Luzifer/rconfig"
packages = ["."]
revision = "7aef1d393c1e2d0758901853b59981c7adc67c7e"
version = "v1.2.0"
[[projects]]
name = "github.com/gorilla/context"
packages = ["."]
revision = "1c83b3eabd45b6d76072b66b746c20815fb2872d"
[[projects]]
name = "github.com/gorilla/mux"
packages = ["."]
revision = "49c024275504f0341e5a9971eb7ba7fa3dc7af40"
[[projects]]
name = "github.com/nicksnyder/go-i18n"
packages = [
"i18n",
"i18n/bundle",
"i18n/language",
"i18n/translation"
]
revision = "3e70a1a463008cea6726380c908b1a6a8bdf7b24"
version = "v1.8.1"
[[projects]]
name = "github.com/pelletier/go-toml"
packages = ["."]
revision = "69d355db5304c0f7f809a2edc054553e7142f016"
[[projects]]
name = "github.com/satori/uuid"
packages = ["."]
revision = "5bf94b69c6b68ee1b541973bb8e1144db23a194b"
[[projects]]
name = "github.com/sirupsen/logrus"
packages = ["."]
revision = "59d0ca41e5faad81cac03f7a7d84ba80d9cc9673"
[[projects]]
name = "github.com/spf13/pflag"
packages = ["."]
revision = "e57e3eeb33f795204c1ca35f56c44f83227c6e66"
version = "v1.0.0"
[[projects]]
name = "github.com/xuyu/goredis"
packages = ["."]
revision = "300f7e8cf453e2ea44337b3969d3aecf1a92ebe3"
[[projects]]
name = "golang.org/x/sys"
packages = ["unix"]
revision = "739734461d1c916b6c72a63d7efda2b27edb369f"
[[projects]]
name = "gopkg.in/validator.v2"
packages = ["."]
revision = "07ffaad256c8e957050ad83d6472eb97d785013d"
[[projects]]
name = "gopkg.in/yaml.v2"
packages = ["."]
revision = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b"
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "6ca092544a6a743d91d487a6b61d4174242bf93e75a6a066de2bc2228e56b871"
solver-name = "gps-cdcl"
solver-version = 1

42
Gopkg.toml Normal file
View File

@ -0,0 +1,42 @@
# Gopkg.toml example
#
# Refer to https://golang.github.io/dep/docs/Gopkg.toml.html
# for detailed Gopkg.toml documentation.
#
# required = ["github.com/user/thing/cmd/thing"]
# ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
#
# [[constraint]]
# name = "github.com/user/project"
# version = "1.0.0"
#
# [[constraint]]
# name = "github.com/user/project2"
# branch = "dev"
# source = "github.com/myfork/project2"
#
# [[override]]
# name = "github.com/x/y"
# version = "2.4.0"
#
# [prune]
# non-go = false
# go-tests = true
# unused-packages = true
[[constraint]]
name = "github.com/Luzifer/go_helpers"
version = "2.2.0"
[[constraint]]
name = "github.com/Luzifer/rconfig"
version = "1.2.0"
[[constraint]]
name = "github.com/nicksnyder/go-i18n"
version = "1.8.1"
[prune]
go-tests = true
unused-packages = true

View File

@ -19,7 +19,7 @@
// These calls return err == nil to indicate success; otherwise
// err represents an operating system error describing the failure and
// holds a value of type syscall.Errno.
package unix
package unix // import "golang.org/x/sys/unix"
// ByteSliceFromString returns a NUL-terminated slice of bytes
// containing the text of s. If s contains a NUL byte at any