ulid

package
v1.31.0 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2024 License: MIT Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ULID

type ULID ulid.ULID
var Zero ULID = ULID{}

func New

func New() ULID

func Parse

func Parse(s string) (ULID, error)

func (ULID) Compare

func (v ULID) Compare(c sort.Comparable) int

func (ULID) IsZero

func (v ULID) IsZero() bool

func (ULID) MarshalJSON

func (v ULID) MarshalJSON() ([]byte, error)

func (*ULID) Scan

func (v *ULID) Scan(src interface{}) error

func (ULID) String

func (v ULID) String() string

func (ULID) Time

func (v ULID) Time() time.Time

func (*ULID) UnmarshalJSON

func (v *ULID) UnmarshalJSON(data []byte) error

func (ULID) Value

func (v ULID) Value() (driver.Value, error)

Jump to

Keyboard shortcuts

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