iris_handler_locale

package module
v0.0.0-...-bdbbfd9 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: MIT Imports: 8 Imported by: 0

README

iris-handler-locale

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJSON

func GetJSON(value interface{}) []byte

func GetString

func GetString(tree *toml.Tree, key string, values ...string) string

func GetStringArray

func GetStringArray(tree *toml.Tree, key string, values ...[]string) []string

func GetTree

func GetTree(tree *toml.Tree, key string) *toml.Tree

func Locale

func Locale(config *toml.Tree) iris.Handler

国际化 Locale usage : app.UseGlobal(handler.Locale())

func ParseString

func ParseString(value interface{}, values ...string) string

func StringifyTime

func StringifyTime(t time.Time) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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