database

package
v0.0.0-...-0676796 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 26, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL