hcl/json: update tokentype_string.go for latest version of stringer
This commit is contained in:
parent
cc8b14cf45
commit
4719b76b52
@ -2,7 +2,7 @@
|
||||
|
||||
package json
|
||||
|
||||
import "fmt"
|
||||
import "strconv"
|
||||
|
||||
const _tokenType_name = "tokenInvalidtokenCommatokenColontokenEqualstokenKeywordtokenNumbertokenStringtokenBrackOtokenBrackCtokenBraceOtokenBraceCtokenEOF"
|
||||
|
||||
@ -25,5 +25,5 @@ func (i tokenType) String() string {
|
||||
if str, ok := _tokenType_map[i]; ok {
|
||||
return str
|
||||
}
|
||||
return fmt.Sprintf("tokenType(%d)", i)
|
||||
return "tokenType(" + strconv.FormatInt(int64(i), 10) + ")"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user