Skip to content

helderberto/go-slugger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”— GO Slugger

This package generate slug from unicode string, URL-friendly slugify.

How to Install

$ go get -u github.com/helderburato/go-slugger

How to Use

import (
	"fmt"
	"github.com/helderburato/go-slugger"
)

func main() {
	text := slugger(Params{text: "Lorem && ** Ipsum is simply dummy"})
	fmt.Println(text) // => lorem-ipsum-is-simply-dummy
}

About

πŸ”— Simple way to generate slug from unicode string, URL-friendly slugify.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages