lang

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2022 License: Unlicense, ISC Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var F, E, W, I, D, T log.LevelPrinter = log.GetLogPrinterSet(subsystem)

Functions

This section is empty.

Types

type Com

type Com struct {
	Component string
	Languages []Language
}

type Dictionary

type Dictionary []Com

type Language

type Language struct {
	Code        string
	Definitions []Text
}

type Lexicon

type Lexicon map[string]string

func ExportLanguage

func ExportLanguage(l string) *Lexicon

func (*Lexicon) RenderText

func (l *Lexicon) RenderText(id string) string

type Text

type Text struct {
	ID         string
	Definition string
}

Jump to

Keyboard shortcuts

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