slugification

package module
v0.0.0-...-6ed4190 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 18, 2016 License: MIT Imports: 4 Imported by: 0

README

go-slugification

Build Status

Description

Creates Slugified versions of strings suitable for use in URLs

Installation

go get github.com/rhinoman/go-slugification

Usage

import "github.com/rhinoman/go-slugification"
...

slugification.Slugify("Page Title") //Returns "page-title"

Documentation

Overview

Package slugification provides methods for generating 'slugged' versions of strings suitable for use in URLs.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Slugify

func Slugify(inputString string) string

Returns a slugified string Example: "Page Title" becomes "page-title"

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL