Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Document ¶
type Document struct {
ID int32 `sql:"primary_key"`
Name string
Content *[]byte
Type *DocumentType
}
type DocumentType ¶
type DocumentType string
const ( DocumentType_Pdf DocumentType = "pdf" DocumentType_Docx DocumentType = "docx" DocumentType_Jpg DocumentType = "jpg" DocumentType_Png DocumentType = "png" DocumentType_Pages DocumentType = "pages" DocumentType_Odt DocumentType = "odt" DocumentType_Txt DocumentType = "txt" DocumentType_HTML DocumentType = "html" DocumentType_Gif DocumentType = "gif" DocumentType_Mpeg DocumentType = "mpeg" DocumentType_Mp3 DocumentType = "mp3" DocumentType_Aac DocumentType = "aac" DocumentType_Ai DocumentType = "ai" )
func (*DocumentType) Scan ¶
func (e *DocumentType) Scan(value interface{}) error
func (DocumentType) String ¶
func (e DocumentType) String() string
Click to show internal directories.
Click to hide internal directories.