For pretty urls.
package main
import(
"github.com/opesun/slugify"
"fmt"
)
func main() {
str := `This is some hungarian text with accents: "Helló, belló."`
fmt.Println(slugify.S(str))
}
The snippet above will produce:
this-is-some-hungarian-text-with-accents-hello-bello