Closed khanakia closed 2 years ago
This is already happening by default:
package main
import (
"fmt"
"github.com/gosimple/slug"
)
func main() {
text := slug.Make("getting- started ##")
fmt.Println(text) // Will print: "getting-started"
}
getting- started ##
should becomegetting-started
How to achieve this ?