slugify

package module
v0.0.0-...-f264787 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2016 License: Unlicense Imports: 2 Imported by: 21

README

Slugify

For pretty urls.

Usage

package main

import(
	"github.com/opesun/slugify"
	"fmt"
)

func main() {
	str := `This is some hungarian text with accents: "Helló, belló."`
	fmt.Println(slugify.S(str))
}

The snippet above will produce:

this-is-some-hungarian-text-with-accents-hello-bello

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func S

func S(str string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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