language

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Dir = "."

Functions

This section is empty.

Types

type LangService added in v0.0.5

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

func NewService added in v0.0.5

func NewService(fs fs.FS, locale ...string) *LangService

func (*LangService) Lifetime added in v0.0.5

func (s *LangService) Lifetime(ioc container.Interface, request contracts.RequestContract)

Lifetime container callback usually register request lifetime instance to IoC-Container (per-request unique) this function will run before every request

func (*LangService) Register added in v0.0.5

func (s *LangService) Register(app *framework.App) error

Jump to

Keyboard shortcuts

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