Update go dependencies

This commit is contained in:
Manuel Alejandro de Brito Fontes 2019-07-31 20:55:11 -04:00
parent c8a3710fb8
commit fcb1b6217b
No known key found for this signature in database
GPG key ID: 786136016A8BA02A
162 changed files with 6806 additions and 7275 deletions

View file

@ -521,12 +521,11 @@ func (r *Lexer) SkipRecursive() {
r.scanToken()
var start, end byte
switch r.token.delimValue {
case '{':
if r.token.delimValue == '{' {
start, end = '{', '}'
case '[':
} else if r.token.delimValue == '[' {
start, end = '[', ']'
default:
} else {
r.consume()
return
}
@ -1152,7 +1151,7 @@ func (r *Lexer) Interface() interface{} {
} else if r.token.delimValue == '[' {
r.consume()
ret := []interface{}{}
var ret []interface{}
for !r.IsDelim(']') {
ret = append(ret, r.Interface())
r.WantComma()