langs

package
v0.0.0-...-5c722c9 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Dictionary

type Dictionary struct {
	Name string

	OverwriteAllowed bool
	// contains filtered or unexported fields
}

func NewDictionary

func NewDictionary(name string, tabSpaces int) *Dictionary

func ParseDictionary

func ParseDictionary(name string, tabSpaces int, data []byte) (*Dictionary, error)

func (*Dictionary) Get

func (d *Dictionary) Get(keyParts ...string) string

func (*Dictionary) GetTitleCase

func (d *Dictionary) GetTitleCase(key string) string

func (*Dictionary) Has

func (d *Dictionary) Has(keyParts ...string) bool

func (*Dictionary) Load

func (d *Dictionary) Load(prefix string, data []byte) error

func (*Dictionary) WalkKeys

func (d *Dictionary) WalkKeys(f func(k string))

Jump to

Keyboard shortcuts

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