Categorygithub.com/gompus/snowflake
modulepackage
0.0.4
Repository: https://github.com/gompus/snowflake.git
Documentation: pkg.go.dev

# README

snowflake

# Functions

FromTimestamp generates a Snowflake for the given time.
MustParse is like Parse, but panics if it encounters an error.
Parse constructs a Snowflake from s.

# Variables

Nil represents an empty Snowflake.
Zero represents the zero value for a Snowflake.

# Structs

UnmarshalTypeError is like json.UnmarshalTypeError, but uses a string to represent the Go value it could not be assigned to, instead of a reflect.Type.

# Type aliases

Snowflake represents a Discord snowflake.