Skip to content

Commit 2248061

Browse files
committed
Merge pull request #48 from hibooboo2/patch-1
Update parser.go
2 parents f0ac935 + cdf6c7c commit 2248061

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

parser.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ func GetFloat(data []byte, keys ...string) (val float64, err error) {
414414
return ParseFloat(v)
415415
}
416416

417-
// GetInt returns the value retrieved by `Get`, cast to a float64 if possible.
417+
// GetInt returns the value retrieved by `Get`, cast to a int64 if possible.
418418
// If key data type do not match, it will return an error.
419419
func GetInt(data []byte, keys ...string) (val int64, err error) {
420420
v, t, _, e := Get(data, keys...)

0 commit comments

Comments
 (0)