i18n

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Language string
)

Functions

func GetItemName

func GetItemName(name string, lang string) string

func GetSharedWishName

func GetSharedWishName(wishType string) string

func GetWishName

func GetWishName(wishType string) string

Types

type Item

type Item struct {
	Name string `json:"name"`
	Lang string `json:"lang"`
}

func (Item) GetName

func (item Item) GetName() string

type Wish

type Wish struct {
	Type string `json:"type"`
	Name string `json:"name"`
	Lang string `json:"lang"`
}

Jump to

Keyboard shortcuts

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