language

package
v1.8.4 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	CLangENG = 0
	CLangRUS = 1
	CLangESP = 2
)

Variables

View Source
var (
	ErrUnknownLanguage = &SLanguageError{"unknown language"}
)

Functions

func FromILanguage

func FromILanguage(pLang ILanguage) string

Types

type ILanguage

type ILanguage int

func ToILanguage

func ToILanguage(s string) (ILanguage, error)

type SLanguageError

type SLanguageError struct {
	// contains filtered or unexported fields
}

func (*SLanguageError) Error

func (err *SLanguageError) Error() string

Jump to

Keyboard shortcuts

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