Skip to content

sauerbraten/slugify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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

About

For pretty urls.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%