common

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 1 Imported by: 0

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.

Jump to

Keyboard shortcuts

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