use typed int64 const

This commit is contained in:
Gani Georgiev committed 2024-12-28 10:23:40 +02:00
1 parent 07fb052da1
commit 074e977e90
1 file changed
+1 -1
+1 -1
View File
@@ -13,7 +13,7 @@ import (
var fieldNameRegex = regexp.MustCompile(`^\w+$`)
const maxSafeJSONInt = 1<<53 - 1
const maxSafeJSONInt int64 = 1<<53 - 1
// Commonly used field names.
const (