datatypes

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitBool

type BitBool bool

func (*BitBool) Scan

func (bb *BitBool) Scan(src interface{}) error

func (BitBool) Value

func (bb BitBool) Value() (driver.Value, error)

type Duration

type Duration struct {
	time.Duration
}

func (Duration) MarshalJSON

func (d Duration) MarshalJSON() ([]byte, error)

func (*Duration) UnmarshalJSON

func (d *Duration) UnmarshalJSON(b []byte) error

type StringFloat64

type StringFloat64 float64

StringFloat64 create a type alias for type float64

func (*StringFloat64) UnmarshalJSON

func (st *StringFloat64) UnmarshalJSON(b []byte) error

type StringInt

type StringInt int

StringInt create a type alias for type int

func (*StringInt) UnmarshalJSON

func (st *StringInt) UnmarshalJSON(b []byte) error

type StringUint

type StringUint uint

StringInt create a type alias for type int

func (*StringUint) UnmarshalJSON

func (st *StringUint) UnmarshalJSON(b []byte) error

Jump to

Keyboard shortcuts

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