For pretty urls.
Go
Switch branches/tags
Nothing to show
Pull request Compare This branch is 12 commits behind crufter:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
README.md
slugify.go
slugify_test.go

README.md

Slugify

For pretty urls.

Usage

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