num

package
v0.6.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Int

type Int big.Int

func Int64

func Int64(v int64) Int

func New

func New(s string) (Int, bool)

func (Int) Add

func (i Int) Add(that Int) Int

func (Int) BigInt

func (i Int) BigInt() *big.Int

func (Int) Int

func (i Int) Int() int

func (Int) Int64

func (i Int) Int64() int64

func (Int) MarshalDynamoDBAttributeValue

func (i Int) MarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error

func (Int) MarshalJSON

func (i Int) MarshalJSON() ([]byte, error)

func (Int) String

func (i Int) String() string

func (Int) Sub

func (i Int) Sub(that Int) Int

func (*Int) UnmarshalDynamoDBAttributeValue

func (i *Int) UnmarshalDynamoDBAttributeValue(item *dynamodb.AttributeValue) error

func (*Int) UnmarshalJSON

func (i *Int) UnmarshalJSON(data []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL