Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EncodeBase36 ¶
EncodeBase36 converts a byte slice to a base36 string of specified length. Matches the algorithm used for bd hash IDs.
func GenerateHashID ¶
func GenerateHashID(prefix, title, description, creator string, timestamp time.Time, length, nonce int) string
GenerateHashID creates a hash-based ID for an issue. Uses base36 encoding (0-9, a-z) for better information density than hex. The length parameter is expected to be 3-8; other values fall back to a 3-char byte width.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.