Documentation ¶ Overview ¶ Code generated by go generate. DO NOT EDIT. Index ¶ type Model type Repo func New(conf governor.Config, l governor.Logger, database db.Database) Repo Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Model ¶ type Model struct { Orgname string `model:"orgname,VARCHAR(255) NOT NULL"` CreationTime int64 `model:"creation_time,BIGINT NOT NULL"` // contains filtered or unexported fields } Model is the db Config model type Repo ¶ type Repo interface { New(orgname string) (*Model, *governor.Error) Get() (*Model, *governor.Error) Insert(m *Model) *governor.Error Update(m *Model) *governor.Error Setup() *governor.Error } func New ¶ func New(conf governor.Config, l governor.Logger, database db.Database) Repo Source Files ¶ View all Source files model.go model_gen.go Click to show internal directories. Click to hide internal directories.