Skip to content

romanyx/prm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GoDoc Build Status Coverage Status

Overview

prm is a small golang library that replaces special characters in a string so that it may be used as part of a ‘pretty’ URL. Slug generator. It's very fast, simple and configurable.

Usage

package main

import (
	"fmt"

	"github.com/romanyx/prm"
)

func main() {
	prm.Parameterize("Computer world", '-') // "computer-world"
}

Releases

No releases published

Packages

No packages published

Languages