localize

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ILocalConfig

type ILocalConfig interface {
	GetLocalize() string
	GetMessageFormat() string
	GetMessagePath() string
	GetMessageTag() string
}

type ILocalizeService

type ILocalizeService interface {
	GetLocalizeService()
	GetMessage(ctx context.Context, msgID string, template ...interface{}) string
}

func NewLocalizeService added in v1.0.4

func NewLocalizeService(configs ...ILocalConfig) ILocalizeService

Jump to

Keyboard shortcuts

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