use typed int64 const

This commit is contained in:
Gani Georgiev 2024-12-28 10:23:40 +02:00
parent 07fb052da1
commit 074e977e90
1 changed files with 1 additions and 1 deletions

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 (