MM-14617 Dependency upgrades and adding modules support. (#10517)
* Dependency upgrades and adding modules support. * Commenting out file tests playload verification portion. * Fixing viper. * Fixing hclog.
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
bd8a54bb08
Коммит
41d117c37b
2
vendor/github.com/mailru/easyjson/.travis.yml
сгенерированный
поставляемый
2
vendor/github.com/mailru/easyjson/.travis.yml
сгенерированный
поставляемый
@@ -6,4 +6,4 @@ install:
|
||||
- go get github.com/ugorji/go/codec
|
||||
- go get github.com/pquerna/ffjson/fflib/v1
|
||||
- go get github.com/json-iterator/go
|
||||
- go get github.com/golang/lint/golint
|
||||
- go get golang.org/x/lint/golint
|
||||
|
||||
4
vendor/github.com/mailru/easyjson/Makefile
сгенерированный
поставляемый
4
vendor/github.com/mailru/easyjson/Makefile
сгенерированный
поставляемый
@@ -25,7 +25,8 @@ generate: root build
|
||||
.root/src/$(PKG)/tests/nothing.go \
|
||||
.root/src/$(PKG)/tests/named_type.go \
|
||||
.root/src/$(PKG)/tests/custom_map_key_type.go \
|
||||
.root/src/$(PKG)/tests/embedded_type.go
|
||||
.root/src/$(PKG)/tests/embedded_type.go \
|
||||
.root/src/$(PKG)/tests/reference_to_pointer.go
|
||||
|
||||
.root/bin/easyjson -all .root/src/$(PKG)/tests/data.go
|
||||
.root/bin/easyjson -all .root/src/$(PKG)/tests/nothing.go
|
||||
@@ -37,6 +38,7 @@ generate: root build
|
||||
.root/bin/easyjson .root/src/$(PKG)/tests/named_type.go
|
||||
.root/bin/easyjson .root/src/$(PKG)/tests/custom_map_key_type.go
|
||||
.root/bin/easyjson .root/src/$(PKG)/tests/embedded_type.go
|
||||
.root/bin/easyjson .root/src/$(PKG)/tests/reference_to_pointer.go
|
||||
.root/bin/easyjson -disallow_unknown_fields .root/src/$(PKG)/tests/disallow_unknown.go
|
||||
|
||||
test: generate root
|
||||
|
||||
7
vendor/github.com/mailru/easyjson/jlexer/lexer.go
сгенерированный
поставляемый
7
vendor/github.com/mailru/easyjson/jlexer/lexer.go
сгенерированный
поставляемый
@@ -521,11 +521,12 @@ func (r *Lexer) SkipRecursive() {
|
||||
r.scanToken()
|
||||
var start, end byte
|
||||
|
||||
if r.token.delimValue == '{' {
|
||||
switch r.token.delimValue {
|
||||
case '{':
|
||||
start, end = '{', '}'
|
||||
} else if r.token.delimValue == '[' {
|
||||
case '[':
|
||||
start, end = '[', ']'
|
||||
} else {
|
||||
default:
|
||||
r.consume()
|
||||
return
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user