snowflake

package
v12.0.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Snowflake

type Snowflake uint64

Snowflake represents a discord-like snowflake id

func FromString

func FromString(v string) (s Snowflake, err error)

FromString converts a string representation of a snowflake into a snowflake

func (Snowflake) ToString

func (s Snowflake) ToString() string

ToString converts the snowflake into a string representation

Jump to

Keyboard shortcuts

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