biginthelper

package
v2.0.0-alpha.21 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BigFloat

type BigFloat big.Float

func ConvertToBigFloat

func ConvertToBigFloat(b *big.Float) (*BigFloat, error)

func (*BigFloat) CreatePgNumeric

func (b *BigFloat) CreatePgNumeric() (*pgtype.Numeric, error)

func (*BigFloat) RawValue

func (b *BigFloat) RawValue() *big.Float

func (*BigFloat) Scan

func (b *BigFloat) Scan(value interface{}) error

func (*BigFloat) Value

func (b *BigFloat) Value() (driver.Value, error)

type BigInt

type BigInt big.Int

func ConvertToBigInt

func ConvertToBigInt(b *big.Int) (*BigInt, error)

func ConvertToBigIntFromStr

func ConvertToBigIntFromStr(b string) (*BigInt, error)

func (*BigInt) CreatePgNumeric

func (b *BigInt) CreatePgNumeric() (*pgtype.Numeric, error)

func (*BigInt) RawValue

func (b *BigInt) RawValue() (*big.Int, error)

func (*BigInt) Scan

func (b *BigInt) Scan(value interface{}) error

func (*BigInt) Value

func (b *BigInt) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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