go-slugify
CategoryNatural Language Processing
SubcategorySlugifiers
Stars0
Make pretty slug with multiple languages support
About go-slugify
go-slugify
Make Pretty Slug.
Installation
go get -u github.com/mozillazg/go-slugify
Install CLI tool:
go get -u github.com/mozillazg/go-slugify/slugify
$ slugify "北京kožušček,abc"
bei-jing-kozuscek-abc
Documentation
API documentation can be found here: https://godoc.org/github.com/mozillazg/go-slugify
Usage
package main
import (
"fmt"
"github.com/mozillazg/go-slugify"
)
func main() {
s := "北京kožušček,abc"
fmt.Println(slugify.Slugify(s))
// Output: bei-jing-kozuscek-abc
}
Frequently Asked Questions
What is go-slugify?
go-slugify is a Natural Language Processing library for the Go programming language. Make pretty slug with multiple languages support
How do I install go-slugify?
Install go-slugify with the Go module system using `go get mozillazg/go-slugify`. Check the repository for the current installation instructions.
What category does go-slugify belong to?
go-slugify is listed under Natural Language Processing, specifically Slugifiers.