Documentation
¶
Index ¶
- type Draft
- func (b *Draft) DraftGet(cubeId string) (interface{}, bool)
- func (b *Draft) DraftImageDelete(cubeId, filename string) bool
- func (b *Draft) DraftImageMove(cubeId, filename string)
- func (b *Draft) DraftImageUpload(cubeId, code, mode string) (string, string, bool)
- func (b *Draft) DraftRemove(cubeId string) (interface{}, bool)
- func (b *Draft) DraftSend(cubeid, cover, title, content, images string) (string, bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Draft ¶
type Draft struct { Id int CubeId string `orm:"index;pk"` Cover string `orm:"type(text)"` Title string Content string `orm:"type(text)"` Image string `orm:"type(text)"` }
func (*Draft) DraftImageDelete ¶
func (*Draft) DraftImageMove ¶
func (*Draft) DraftImageUpload ¶
func (*Draft) DraftRemove ¶
Click to show internal directories.
Click to hide internal directories.