Documentation ¶
Index ¶
Constants ¶
View Source
const ( DB_DRIVER = "db_driver" DB_CONN = "db_connection" DB_IDLE = "db_idle" DB_MAX = "db_max" )
View Source
const (
COMPONENT = "component"
)
View Source
const (
CONTREP = "contrep"
)
View Source
const (
DOCUMENT = "document"
)
Variables ¶
View Source
var (
Orm orm.Ormer
)
Functions ¶
func NewQueryBuilder ¶
func NewQueryBuilder() (orm.QueryBuilder, error)
Types ¶
type Component ¶
type Contrep ¶
type Contrep struct { Id int `orm:"pk;auto"` Created time.Time `orm:"auto_now_add;type(datetime)"` Updated time.Time `orm:"auto_now;type(datetime)"` Name string `orm:"size(100)"` Desc string `orm:"null;size(1000)"` IsOnline bool `orm:"size(1000)"` Cert string `orm:"null;size(2000)"` CertDatetime time.Time `orm:"null"` IsCertProtected bool IsCertChecked bool ReceivedCert string `orm:"null;size(2000)"` ReceivedCertDatetime time.Time `orm:"null"` DocProtection string `orm:"null;size(4)"` }
Click to show internal directories.
Click to hide internal directories.