GitHub - mozillazg/go-slugify: Pretty Slug. (original) (raw)

Skip to content

Sign in

Appearance settings

View all features

View all solutions

Provide feedback

We read every piece of feedback, and take your input very seriously.

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Sign in

Sign up

Appearance settings

mozillazg / go-slugify Public

Pretty Slug.

godoc.org/github.com/mozillazg/go-slugify

License

MIT license

97 stars 9 forks Branches Tags Activity

Star

Notifications You must be signed in to change notification settings

Additional navigation options

BranchesTags

Folders and files

Name Name Last commit message Last commit date
Latest commitHistory6 Commits
slugify slugify
.travis.yml .travis.yml
CHANGELOG.md CHANGELOG.md
LICENSE LICENSE
Makefile Makefile
README.md README.md
benchmark_test.go benchmark_test.go
doc.go doc.go
example_test.go example_test.go
slugify.go slugify.go
slugify_test.go slugify_test.go

Repository files navigation

go-slugify

Build Status Coverage Status Go Report Card GoDoc

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 }

About

Pretty Slug.

godoc.org/github.com/mozillazg/go-slugify

Resources

Readme

License

MIT license

Activity

Stars

97 stars

Watchers

1 watching

Forks

9 forks

Report repository

Releases2

v0.2.0 Latest Aug 13, 2016

+ 1 release

Packages

No packages published

Languages