i18n

package
v0.0.0-...-f9f9384 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Initialize

func Initialize(path string) error

func Localize

func Localize(c *gin.Context, mid string) string

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

func NewErr

func NewErr(c *gin.Context, msgId string, err error) *Error

func (*Error) Error

func (e *Error) Error() string

func (*Error) Resp

func (e *Error) Resp() resp.Resp

Jump to

Keyboard shortcuts

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