cli/i18n/i18n.go
2025-10-28 12:06:24 +00:00

27 lines
941 B
Go

// package i18n provides the public API for the i18n service.
package i18n
import (
// Import the internal implementation with an alias.
impl "github.com/Snider/Core/pkg/i18n"
// Import the core contracts to re-export the interface.
"github.com/Snider/Core/pkg/core"
)
// New is a public function that points to the real function in the implementation package.
var New = impl.New
// Register is a public function that points to the real function in the implementation package.
var Register = impl.Register
// Options is the public type for the Options service. It is a type alias
// to the underlying implementation, making it transparent to the user.
type Options = impl.Options
// Service is the public type for the Service service. It is a type alias
// to the underlying implementation, making it transparent to the user.
type Service = impl.Service
// I18n is the public interface for the i18n service.
type I18n = core.I18n