update vendor
This commit is contained in:
parent
29b5d3eb25
commit
79b0d82993
6 changed files with 58 additions and 39 deletions
25
Gopkg.lock
generated
25
Gopkg.lock
generated
|
@ -2,38 +2,55 @@
|
||||||
|
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
|
branch = "master"
|
||||||
|
digest = "1:5d72bbcc9c8667b11c3dc3cbe681c5a6f71e5096744c0bf7726ab5c6425d5dc4"
|
||||||
name = "github.com/BurntSushi/toml"
|
name = "github.com/BurntSushi/toml"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
revision = "b26d9c308763d68093482582cea63d69be07a0f0"
|
pruneopts = "NUT"
|
||||||
version = "v0.3.0"
|
revision = "3012a1dbe2e4bd1391d42b32f0577cb7bbc7f005"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
digest = "1:f3793f8a708522400cef1dba23385e901aede5519f68971fd69938ef330b07a1"
|
||||||
name = "github.com/alecthomas/template"
|
name = "github.com/alecthomas/template"
|
||||||
packages = [".","parse"]
|
packages = [
|
||||||
|
".",
|
||||||
|
"parse",
|
||||||
|
]
|
||||||
|
pruneopts = "NUT"
|
||||||
revision = "a0175ee3bccc567396460bf5acd36800cb10c49c"
|
revision = "a0175ee3bccc567396460bf5acd36800cb10c49c"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
digest = "1:fdd419e104ec26bb5bd63cc62637c640453ed2929a7453f3afadbd9a0223da66"
|
||||||
name = "github.com/alecthomas/units"
|
name = "github.com/alecthomas/units"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
|
pruneopts = "NUT"
|
||||||
revision = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a"
|
revision = "2efee857e7cfd4f3d0138cc3cbb1b4966962b93a"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
digest = "1:9c94adb84080287919cda31447549e0ce8f8cc2067e19ce51537cf4572868d36"
|
||||||
name = "github.com/andrew-d/go-termutil"
|
name = "github.com/andrew-d/go-termutil"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
|
pruneopts = "NUT"
|
||||||
revision = "009166a695a2f516c749a26b4ac1f183d89aa336"
|
revision = "009166a695a2f516c749a26b4ac1f183d89aa336"
|
||||||
|
|
||||||
[[projects]]
|
[[projects]]
|
||||||
|
digest = "1:22b2dee6f30bc8601f087449a2a819df8388e54e9547349c658f14d8f8c590f2"
|
||||||
name = "gopkg.in/alecthomas/kingpin.v2"
|
name = "gopkg.in/alecthomas/kingpin.v2"
|
||||||
packages = ["."]
|
packages = ["."]
|
||||||
|
pruneopts = "NUT"
|
||||||
revision = "947dcec5ba9c011838740e680966fd7087a71d0d"
|
revision = "947dcec5ba9c011838740e680966fd7087a71d0d"
|
||||||
version = "v2.2.6"
|
version = "v2.2.6"
|
||||||
|
|
||||||
[solve-meta]
|
[solve-meta]
|
||||||
analyzer-name = "dep"
|
analyzer-name = "dep"
|
||||||
analyzer-version = 1
|
analyzer-version = 1
|
||||||
inputs-digest = "8af26cfb0fca3790f9adb4313ad7adb9b2b9a7c7860c9fca42bed46008dc06d8"
|
input-imports = [
|
||||||
|
"github.com/BurntSushi/toml",
|
||||||
|
"github.com/andrew-d/go-termutil",
|
||||||
|
"gopkg.in/alecthomas/kingpin.v2",
|
||||||
|
]
|
||||||
solver-name = "gps-cdcl"
|
solver-name = "gps-cdcl"
|
||||||
solver-version = 1
|
solver-version = 1
|
||||||
|
|
28
Gopkg.toml
28
Gopkg.toml
|
@ -1,29 +1,11 @@
|
||||||
|
[prune]
|
||||||
# Gopkg.toml example
|
go-tests = true
|
||||||
#
|
non-go = true
|
||||||
# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
|
unused-packages = true
|
||||||
# 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"
|
|
||||||
|
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
|
branch = "master"
|
||||||
name = "github.com/BurntSushi/toml"
|
name = "github.com/BurntSushi/toml"
|
||||||
version = "0.3.0"
|
|
||||||
|
|
||||||
[[constraint]]
|
[[constraint]]
|
||||||
branch = "master"
|
branch = "master"
|
||||||
|
|
1
Makefile
1
Makefile
|
@ -1,7 +1,6 @@
|
||||||
update-vendor:
|
update-vendor:
|
||||||
dep ensure
|
dep ensure
|
||||||
dep ensure -update
|
dep ensure -update
|
||||||
dep prune
|
|
||||||
|
|
||||||
release:
|
release:
|
||||||
goreleaser --rm-dist
|
goreleaser --rm-dist
|
||||||
|
|
27
vendor/github.com/BurntSushi/toml/COPYING
generated
vendored
27
vendor/github.com/BurntSushi/toml/COPYING
generated
vendored
|
@ -1,14 +1,21 @@
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
The MIT License (MIT)
|
||||||
Version 2, December 2004
|
|
||||||
|
|
||||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
Copyright (c) 2013 TOML authors
|
||||||
|
|
||||||
Everyone is permitted to copy and distribute verbatim or modified
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
copies of this license document, and changing it is allowed as long
|
of this software and associated documentation files (the "Software"), to deal
|
||||||
as the name is changed.
|
in the Software without restriction, including without limitation the rights
|
||||||
|
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||||
|
copies of the Software, and to permit persons to whom the Software is
|
||||||
|
furnished to do so, subject to the following conditions:
|
||||||
|
|
||||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
The above copyright notice and this permission notice shall be included in
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
all copies or substantial portions of the Software.
|
||||||
|
|
||||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||||
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||||
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
|
THE SOFTWARE.
|
||||||
|
|
14
vendor/github.com/BurntSushi/toml/decode_test.go
generated
vendored
14
vendor/github.com/BurntSushi/toml/decode_test.go
generated
vendored
|
@ -16,6 +16,8 @@ age = 250
|
||||||
andrew = "gallant"
|
andrew = "gallant"
|
||||||
kait = "brady"
|
kait = "brady"
|
||||||
now = 1987-07-05T05:45:00Z
|
now = 1987-07-05T05:45:00Z
|
||||||
|
nowEast = 2017-06-22T16:15:21+08:00
|
||||||
|
nowWest = 2017-06-22T02:14:36-06:00
|
||||||
yesOrNo = true
|
yesOrNo = true
|
||||||
pi = 3.14
|
pi = 3.14
|
||||||
colors = [
|
colors = [
|
||||||
|
@ -38,6 +40,8 @@ cauchy = "cat 2"
|
||||||
Pi float64
|
Pi float64
|
||||||
YesOrNo bool
|
YesOrNo bool
|
||||||
Now time.Time
|
Now time.Time
|
||||||
|
NowEast time.Time
|
||||||
|
NowWest time.Time
|
||||||
Andrew string
|
Andrew string
|
||||||
Kait string
|
Kait string
|
||||||
My map[string]cats
|
My map[string]cats
|
||||||
|
@ -53,11 +57,21 @@ cauchy = "cat 2"
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
nowEast, err := time.Parse("2006-01-02T15:04:05-07:00", "2017-06-22T16:15:21+08:00")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
nowWest, err := time.Parse("2006-01-02T15:04:05-07:00", "2017-06-22T02:14:36-06:00")
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
var answer = simple{
|
var answer = simple{
|
||||||
Age: 250,
|
Age: 250,
|
||||||
Andrew: "gallant",
|
Andrew: "gallant",
|
||||||
Kait: "brady",
|
Kait: "brady",
|
||||||
Now: now,
|
Now: now,
|
||||||
|
NowEast: nowEast,
|
||||||
|
NowWest: nowWest,
|
||||||
YesOrNo: true,
|
YesOrNo: true,
|
||||||
Pi: 3.14,
|
Pi: 3.14,
|
||||||
Colors: [][]string{
|
Colors: [][]string{
|
||||||
|
|
2
vendor/github.com/BurntSushi/toml/lex.go
generated
vendored
2
vendor/github.com/BurntSushi/toml/lex.go
generated
vendored
|
@ -775,7 +775,7 @@ func lexDatetime(lx *lexer) stateFn {
|
||||||
return lexDatetime
|
return lexDatetime
|
||||||
}
|
}
|
||||||
switch r {
|
switch r {
|
||||||
case '-', 'T', ':', '.', 'Z':
|
case '-', 'T', ':', '.', 'Z', '+':
|
||||||
return lexDatetime
|
return lexDatetime
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue