Documentation ¶ Overview ¶ Package hexid provides a dead simple hexadecimal random ID generator. Index ¶ func New(n int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func New ¶ func New(n int) string New generates a lowercase hexadecimal string encoding n bytes of random data (hence the generated string is 2*n characters long). This function panics if the random source cannot be read. Types ¶ This section is empty. Source Files ¶ View all Source files hexid.go Click to show internal directories. Click to hide internal directories.