MCPcopy
hub / github.com/bwmarrin/snowflake / String

Method String

snowflake.go:175–177  ·  view source on GitHub ↗

String returns a string of the snowflake ID

()

Source from the content-addressed store, hash-verified

173
174// String returns a string of the snowflake ID
175func (f ID) String() string {
176 return strconv.FormatInt(int64(f), 10)
177}
178
179// ParseString converts a string into a snowflake ID
180func ParseString(id string) (ID, error) {

Callers 3

BytesMethod · 0.95
TestPrintAllFunction · 0.80
TestStringFunction · 0.80

Calls

no outgoing calls

Tested by 2

TestPrintAllFunction · 0.64
TestStringFunction · 0.64