lang

package
v0.0.0-...-d4978fa Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2019 License: Unlicense Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

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