Documentation ¶ Index ¶ func LtConnect(verbose bool) (*gorm.DB, error) func PgConnect(host, user, password, dbname string, port int, verbose bool) (*gorm.DB, error) type Driver Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func LtConnect ¶ func LtConnect(verbose bool) (*gorm.DB, error) func PgConnect ¶ func PgConnect(host, user, password, dbname string, port int, verbose bool) (*gorm.DB, error) Types ¶ type Driver ¶ type Driver struct { ID int `gorm:"primaryKey"` FullName string `gorm:"text; not null; uniqueIndex"` LicenseId string `gorm:"text; not null"` CreatedAt time.Time UpdatedAt time.Time } Source Files ¶ View all Source files database.go models.go Click to show internal directories. Click to hide internal directories.