model

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Entry

type Entry struct {
	ID   int    `json:"id"`
	Key  string `json:"Key"`
	EnUS string `json:"enUS"`
	ZhTW string `json:"zhTW"`
	DeDE string `json:"deDE"`
	EsES string `json:"esES"`
	FrFR string `json:"frFR"`
	ItIT string `json:"itIT"`
	KoKR string `json:"koKR"`
	PlPL string `json:"plPL"`
	EsMX string `json:"esMX"`
	JaJP string `json:"jaJP"`
	PtBR string `json:"ptBR"`
	RuRU string `json:"ruRU"`
	ZhCN string `json:"zhCN"`

	ZhTWO string `json:"zhTWO,omitempty"`
	ZhTWN string `json:"zhTWN,omitempty"`
}

func (Entry) AsMap

func (e Entry) AsMap() map[string]any

func (Entry) Get

func (e Entry) Get(field string) string

type StringFile

type StringFile struct {
	Name    string
	Entries []Entry
}

Jump to

Keyboard shortcuts

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