big

package
v0.0.0-...-1971f33 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IntSchemaType = map[string]string{
	dialect.Postgres: "numeric",
}

Functions

This section is empty.

Types

type Int

type Int struct {
	*basebig.Int
}

func FromBase

func FromBase(i *basebig.Int) Int

func NewInt

func NewInt(i int64) Int

func (Int) Add

func (b Int) Add(c Int) Int

func (Int) MarshalGQL

func (b Int) MarshalGQL(w io.Writer)

func (Int) MarshalJSON

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

func (Int) Neg

func (b Int) Neg() Int

func (*Int) Scan

func (b *Int) Scan(src interface{}) error

func (*Int) UnmarshalGQL

func (b *Int) UnmarshalGQL(v interface{}) error

func (*Int) UnmarshalJSON

func (b *Int) UnmarshalJSON(p []byte) error

func (Int) Value

func (b Int) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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