Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleExportFile ¶
ArticleExportFile is the structure used to generate a response body for an article export file
type Context ¶
type Context struct {
// contains filtered or unexported fields
}
Context is the structure for an export, based on the exportInterface
func NewContext ¶
func NewContext(e exportInterface) *Context
NewContext is the constructor of a Context for exporting article
func (*Context) Export ¶
func (c *Context) Export(param string) *ArticleExportFile
Export function is the context function that generate a file from an article id
Click to show internal directories.
Click to hide internal directories.