Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRendererNotFound = errors.New("renderer not found")
View Source
var JSON = json{}
View Source
var YAML = yaml{}
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct {
// contains filtered or unexported fields
}
func NewRegistry ¶
func NewRegistry() *Registry
type RegistryBuilder ¶
var ( LocalRegistryBuilder RegistryBuilder AddToRegistry = LocalRegistryBuilder.AddToRegistry )
func (*RegistryBuilder) Add ¶
func (r *RegistryBuilder) Add(funcs ...func(*Registry) error)
func (*RegistryBuilder) AddToRegistry ¶
func (r *RegistryBuilder) AddToRegistry(registry *Registry) error
func (*RegistryBuilder) Register ¶
func (r *RegistryBuilder) Register(namesAndRenderers ...any)
Click to show internal directories.
Click to hide internal directories.