mirror of
https://github.com/wader/fq.git
synced 2024-11-29 23:27:12 +03:00
13 lines
261 B
Go
13 lines
261 B
Go
// from gojq
|
|
// The MIT License (MIT)
|
|
// Copyright (c) 2019-2021 itchyny
|
|
|
|
package gojqextra
|
|
|
|
import "math/bits"
|
|
|
|
const (
|
|
maxInt = 1<<(bits.UintSize-1) - 1 // math.MaxInt64 or math.MaxInt32
|
|
minInt = -maxInt - 1 // math.MinInt64 or math.MinInt32
|
|
)
|