Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetID ¶
GetID returns a random ID string of the format prefix_random16chars, e.g. beer_ts72nf6ak8dts73g. This is a simple (naive) implementation using the rand package, just to avoid importing external UUID packages in this demo app. This implementation in no way guarantees uniqueness, so please don't use it for any production purposes!
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.