locale

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLocalizer

func NewLocalizer(languages ...string) *i18n.Localizer

Types

type Config

type Config struct {
	Default string   `ini:"default"`
	BaseDir string   `ini:"dir"`
	Files   []string `ini:"files"`
}

func GetConfig

func GetConfig() *Config

Jump to

Keyboard shortcuts

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