Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Common ¶
type Common struct {
Tr *i18n.TranslationSet
}
Common provides shared dependencies used across the application. All components that need access to translations or configuration should receive a *Common reference.
func NewCommon ¶
func NewCommon(tr *i18n.TranslationSet) *Common
NewCommon creates a new Common instance with the given TranslationSet.
Click to show internal directories.
Click to hide internal directories.