Documentation ¶
Overview ¶
Package samplemeta implements sample type Meta which holds template metadata
Index ¶
- type Meta
- func (m Meta) ContentType() string
- func (m Meta) Error() error
- func (m Meta) Layout() string
- func (m *Meta) SetContentType(name string) string
- func (m *Meta) SetError(e error)
- func (m *Meta) SetLayout(name string) string
- func (m *Meta) SetStatus(status int) string
- func (m *Meta) SetTitle(name string) string
- func (m Meta) Status() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Meta ¶
type Meta struct { Title string // contains filtered or unexported fields }
Meta holds template metadata
func (*Meta) SetContentType ¶
SetContentType - set page content type
Click to show internal directories.
Click to hide internal directories.