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
Click to show internal directories.
Click to hide internal directories.