lang

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2020 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