Documentation ¶
Index ¶
- Constants
- type CFeature
- func (f *CFeature) AddFormat(formats ...feature.PageFormat) MakeFeature
- func (f *CFeature) Defaults() MakeFeature
- func (f *CFeature) GetFormat(extn string) (format feature.PageFormat)
- func (f *CFeature) Init(this interface{})
- func (f *CFeature) ListFormats() (names []string)
- func (f *CFeature) Make() Feature
- func (f *CFeature) MatchFormat(filename string) (format feature.PageFormat, match string)
- func (f *CFeature) Setup(enjin feature.Internals)
- type Feature
- type MakeFeature
Constants ¶
View Source
const Tag feature.Tag = "pages-formats"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CFeature ¶
func (*CFeature) AddFormat ¶
func (f *CFeature) AddFormat(formats ...feature.PageFormat) MakeFeature
func (*CFeature) Defaults ¶
func (f *CFeature) Defaults() MakeFeature
func (*CFeature) ListFormats ¶ added in v0.1.0
func (*CFeature) MatchFormat ¶
func (f *CFeature) MatchFormat(filename string) (format feature.PageFormat, match string)
type MakeFeature ¶
type MakeFeature interface { Defaults() MakeFeature AddFormat(formats ...feature.PageFormat) MakeFeature Make() Feature }
func New ¶
func New() MakeFeature
func NewTagged ¶ added in v0.2.15
func NewTagged(tag feature.Tag) MakeFeature
Click to show internal directories.
Click to hide internal directories.