1
0
mirror of https://github.com/pocketbase/pocketbase.git synced 2025-03-19 22:19:23 +02:00

use typed int64 const

This commit is contained in:
Gani Georgiev 2024-12-28 10:23:40 +02:00
parent 07fb052da1
commit 074e977e90

View File

@ -13,7 +13,7 @@ import (
var fieldNameRegex = regexp.MustCompile(`^\w+$`) var fieldNameRegex = regexp.MustCompile(`^\w+$`)
const maxSafeJSONInt = 1<<53 - 1 const maxSafeJSONInt int64 = 1<<53 - 1
// Commonly used field names. // Commonly used field names.
const ( const (