mirror of https://github.com/jackc/pgx.git
Remove int bound constants
parent
9ab59a74a9
commit
1bea9d3f7e
|
@ -15,10 +15,6 @@ const (
|
||||||
BinaryFormatCode = 1
|
BinaryFormatCode = 1
|
||||||
)
|
)
|
||||||
|
|
||||||
const maxUint = ^uint(0)
|
|
||||||
const maxInt = int(maxUint >> 1)
|
|
||||||
const minInt = -maxInt - 1
|
|
||||||
|
|
||||||
// SerializationError occurs on failure to encode or decode a value
|
// SerializationError occurs on failure to encode or decode a value
|
||||||
type SerializationError string
|
type SerializationError string
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue