Documentation
¶
Index ¶
- Constants
- type CPreset
- func (p *CPreset[MakeTypedPreset]) AddFormats(formats ...feature.PageFormat) MakeTypedPreset
- func (p *CPreset[MakeTypedPreset]) AddFuncmaps(funcmaps ...feature.FuncMapProvider) MakeTypedPreset
- func (p *CPreset[MakeTypedPreset]) Make() (feat Preset)
- func (p *CPreset[MakeTypedPreset]) Preset(b feature.Builder) (err error)
- func (p *CPreset[MakeTypedPreset]) SetListener(l feature.ServiceListener) MakeTypedPreset
- func (p *CPreset[MakeTypedPreset]) SetRenderer(r feature.ThemeRenderer) MakeTypedPreset
- type MakePreset
- type Preset
Constants ¶
View Source
const Name = "preset-essentials"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CPreset ¶
type CPreset[MakeTypedPreset interface{}] struct { feature.CPreset[MakeTypedPreset] // contains filtered or unexported fields }
func (*CPreset[MakeTypedPreset]) AddFormats ¶
func (p *CPreset[MakeTypedPreset]) AddFormats(formats ...feature.PageFormat) MakeTypedPreset
func (*CPreset[MakeTypedPreset]) AddFuncmaps ¶
func (p *CPreset[MakeTypedPreset]) AddFuncmaps(funcmaps ...feature.FuncMapProvider) MakeTypedPreset
func (*CPreset[MakeTypedPreset]) SetListener ¶
func (p *CPreset[MakeTypedPreset]) SetListener(l feature.ServiceListener) MakeTypedPreset
func (*CPreset[MakeTypedPreset]) SetRenderer ¶
func (p *CPreset[MakeTypedPreset]) SetRenderer(r feature.ThemeRenderer) MakeTypedPreset
type MakePreset ¶
type MakePreset interface { feature.BaseMakePreset[MakePreset] Make() Preset SetRenderer(r feature.ThemeRenderer) MakePreset SetListener(l feature.ServiceListener) MakePreset AddFormats(formats ...feature.PageFormat) MakePreset AddFuncmaps(funcmaps ...feature.FuncMapProvider) MakePreset }
func New ¶
func New() MakePreset
Click to show internal directories.
Click to hide internal directories.