lang

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2022 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

View Source
const (
	CodeKZ = "KZ"
	CodeRU = "RU"
	CodeEN = "EN"
)

Variables

View Source
var (
	ErrBadLanguage = errors.New("bad language")
)

Functions

This section is empty.

Types

type Lang

type Lang uint32
const (
	Unknown Lang = iota
	KZ
	RU
	EN
)

func (Lang) String

func (l Lang) String() string

String returns language code or empty string

Directories

Path Synopsis
Package en converts numbers, currencies to english words.
Package en converts numbers, currencies to english words.
Package kz converts numbers, currencies to kazakh words.
Package kz converts numbers, currencies to kazakh words.
ru
Package ru converts numbers, currencies to russian words.
Package ru converts numbers, currencies to russian words.

Jump to

Keyboard shortcuts

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