resource

package
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lang

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

Lang - Language Interface

func NewLanguage

func NewLanguage() *Lang

NewLanguage - Create a new language instance

func (*Lang) GetRune

func (l *Lang) GetRune(resource string, key string) (rune, error)

GetRune - Return runes for keybindings

func (*Lang) GetText

func (l *Lang) GetText(resource string, key string) string

GetText - Return text for a language resource

Jump to

Keyboard shortcuts

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