slugifier

package
v0.0.0-...-29f5810 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package slugifier provides a custom slugifier from Russian into Translit with the package's own dictionary.

Index

Constants

This section is empty.

Variables

View Source
var CyrillicLatin = map[rune]string{}/* 208 elements not displayed */

CyrillicLatin is a dictionary from Cyrillic into Translit. Be aware that it is not a good idea to reverse the dictionary, because it is much harder to convert from Translit into Russian, some letters such as 'ь' does not exist in Latin and usually omitted.

Functions

func NewSlugifier

func NewSlugifier() *slugify.Slugifier

NewSlugifier returns a custom slugifier.

Types

This section is empty.

Jump to

Keyboard shortcuts

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