Go version 1.20+
go get github.com/sanchitrk/namingo
Namingo is a package, so all you need to do is import it into your code:
package main
import (
"fmt"
"github.com/sanchitrk/namingo"
)
func main() {
fmt.Println(namingo.Generate(1, " ", namingo.TitleCase()))
fmt.Println(namingo.Generate(2, " ", namingo.LowerCase()))
}