slug

package
v0.54.1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Convert

func Convert(source string) string

Convert returns a slug for the given string, a slug is a lower case text without special caracters or space, only letters, numbers and dashes. This func converts many known special caracters to letters.

func Valid

func Valid(s string) bool

Valid returns if given string is a valid slug.

Types

This section is empty.

Jump to

Keyboard shortcuts

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