Documentation ¶
Index ¶
Constants ¶
View Source
const ( MaxUint = ^uint(0) MinUint = 0 MaxInt = int(MaxUint >> 1) MinInt = -MaxInt - 1 )
REF: http://stackoverflow.com/questions/6878590/the-maximum-value-for-an-int-type-in-go
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int32Range ¶
func ParseInt32Range ¶
func ParseInt32Range(rangeStr string, defaultLeftVal int32, defaultRightVal int32) (*Int32Range, error)
ParseInt32Range parse string and return a *Int32Range.
type Int64Range ¶
func ParseInt64Range ¶
func ParseInt64Range(rangeStr string, defaultLeftVal int64, defaultRightVal int64) (*Int64Range, error)
ParseInt64Range parse string and return a *Int64Range.
type TimestampRange ¶
func ParseTimestampRange ¶
func ParseTimestampRange(rangeStr string, defaultLeftVal uint32, defaultRightVal uint32) (*TimestampRange, error)
ParseTimestampRange parse string and return a *TimestampRange.
type Uint32Range ¶
func ParseUint32Range ¶
func ParseUint32Range(rangeStr string, defaultLeftVal uint32, defaultRightVal uint32) (*Uint32Range, error)
ParseUint32Range parse string and return a *Uint32Range.
type Uint64Range ¶
func ParseUint64Range ¶
func ParseUint64Range(rangeStr string, defaultLeftVal uint64, defaultRightVal uint64) (*Uint64Range, error)
ParseUint64Range parse string and return a *Uint64Range.
Click to show internal directories.
Click to hide internal directories.