Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateDataPrefixWithULID ¶
func GenerateDataPrefixWithULID[T DataPrefix](prefixType T) string
Types ¶
type DataPrefix ¶
type DataPrefix string
const ( GAME DataPrefix = "game_" PLAYER DataPrefix = "plar_" )
func (DataPrefix) IsValid ¶
func (dp DataPrefix) IsValid(s string) bool
func (DataPrefix) String ¶
func (dp DataPrefix) String() string
Click to show internal directories.
Click to hide internal directories.