code

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type I18nServiceImpl

type I18nServiceImpl struct {
	Providers []i18n.LanguageProvider //starter:inject(".")
	// contains filtered or unexported fields
}

I18nServiceImpl ...

func (*I18nServiceImpl) Available

func (inst *I18nServiceImpl) Available() []i18n.Language

Available ...

func (*I18nServiceImpl) Default

func (inst *I18nServiceImpl) Default() i18n.Resources

Default ...

func (*I18nServiceImpl) GetResources

func (inst *I18nServiceImpl) GetResources(l ...i18n.Language) i18n.Resources

GetResources ...

type ProviderImpl

type ProviderImpl struct {
	AC       application.Context //starter:inject("context")
	LangList string              //starter:inject("${i18n.available.languages}")
	// contains filtered or unexported fields
}

ProviderImpl ...

func (*ProviderImpl) Languages

func (inst *ProviderImpl) Languages() []*i18n.LanguageRegistration

Languages ...

Jump to

Keyboard shortcuts

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