Documentation ¶
Index ¶
- type Int
- func (i Int) Add(that Int) Int
- func (i Int) BigFloat() *big.Float
- func (i Int) BigInt() *big.Int
- func (i Int) Div(that Int) Int
- func (i Int) Equal(that Int) bool
- func (i Int) GreaterThan(that Int) bool
- func (i Int) Int() int
- func (i Int) Int64() int64
- func (i Int) LessThan(that Int) bool
- func (i Int) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (i Int) MarshalJSON() ([]byte, error)
- func (i Int) Mul(that Int) Int
- func (i Int) String() string
- func (i Int) Sub(that Int) Int
- func (i Int) Uint64() uint64
- func (i *Int) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
- func (i *Int) UnmarshalJSON(data []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Int ¶
Int is a wrapper of sorts around big.Int. One of the intentions is to prevent users from being directly exposed to the big.Int API and usage of BigInt(). This is due to big.Int introducing bugs if not careful with its usage and its API.
func (Int) GreaterThan ¶
func (Int) MarshalDynamoDBAttributeValue ¶
func (i Int) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (Int) MarshalJSON ¶
func (*Int) UnmarshalDynamoDBAttributeValue ¶
func (i *Int) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error
func (*Int) UnmarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.