objects

package
v0.0.0-...-8fd61c5 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: BSD-3-Clause Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NullableSnowflake

type NullableSnowflake struct {
	IsNull bool
	Value  uint64
}

func NewNullSnowflake

func NewNullSnowflake() NullableSnowflake

func NewNullableSnowflake

func NewNullableSnowflake(value uint64) NullableSnowflake

func (NullableSnowflake) MarshalJSON

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

func (*NullableSnowflake) UnmarshalJSON

func (i *NullableSnowflake) UnmarshalJSON(b []byte) error

type Snowflake

type Snowflake uint64

func NewSnowflake

func NewSnowflake(value uint64) Snowflake

func (Snowflake) MarshalJSON

func (s Snowflake) MarshalJSON() ([]byte, error)

func (*Snowflake) UnmarshalJSON

func (s *Snowflake) UnmarshalJSON(b []byte) error

func (Snowflake) Value

func (s Snowflake) Value() uint64

Jump to

Keyboard shortcuts

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