num

package
v0.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: Apache-2.0 Imports: 4 Imported by: 1

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 Uint64 added in v0.7.8

func Uint64(v uint64) Int

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) Uint64 added in v0.7.8

func (i Int) Uint64() uint64

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