Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ID ¶
type ID uint64
ID helps distinguish specific object with unique IDs in Go stack traces.
Stack trace only prints integer arguments, so this ID is generated by converting a unique object ID to hex, and passing it explicitly as an argument to functions we want tagged. Just storing or logging it won't help.
func FromString ¶
FromString creates ID from 8-byte prefix of a string. It does not make any assumptions about string format.
Click to show internal directories.
Click to hide internal directories.