Documentation ¶ Index ¶ func Slugify(str string, withSuffix bool, maxIDlen int) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Slugify ¶ func Slugify(str string, withSuffix bool, maxIDlen int) string Slugify converts input 'str' to a string only containing alphameric and "-". if withSuffix is true, will append a random string maxIDlen controls the max length of the string Types ¶ This section is empty. Source Files ¶ View all Source files slugify.go Click to show internal directories. Click to hide internal directories.