package
Version:
v0.0.0-...-debbccd
Opens a new window with list of versions in this module.
Published: Jun 4, 2020
License: GPL-3.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
DefaultDatabase = "gorm"
DefaultDBUser = "gorm"
DefaultHost = "myhost"
DefaultPort = "myport"
DefaultPassword = "mypassword"
)
type Document struct {
gorm.Model
TicketID string `gorm:"type:varchar(100);unique_index"`
Content string `gorm:"type:varchar(100)"`
Title string `gorm:"type:varchar(100)"`
Author string `gorm:"type:varchar(100)"`
Topic string `gorm:"type:varchar(100)"`
Watermark string `gorm:"type:varchar(100)"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.