cli/display/display.go

23 lines
821 B
Go

// Package display provides the public API for the Display service.
package display
import (
// Import the internal implementation with an alias.
impl "github.com/Snider/Core/pkg/display"
// Import the core contracts to re-export the interface.
"github.com/Snider/Core/pkg/core"
)
// Service is the public type for the Display service. It is a type alias
// to the underlying implementation, making it transparent to the user.
type Service = impl.Service
// New is the public constructor for the Display service. It is a variable
// that points to the real constructor in the implementation package.
var New = impl.New
// Register is the public factory for the dynamic core.WithService pattern.
var Register = impl.Register
// Display is the public interface for the Display service.
type Display = core.Display