Skip to content

Commit cdf6c7c

Browse files
committed
Update parser.go
Fixed log comment from float64 to int64
1 parent f0ac935 commit cdf6c7c

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)