prm
is a small golang library that replaces special characters in a string so that it may be used as part of a ‘pretty’ URL. Slug generator. It's very fast, simple and configurable.
package main
import (
"fmt"
"github.com/romanyx/prm"
)
func main() {
prm.Parameterize("Computer world", '-') // "computer-world"
}