Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPsqlGormConnection ¶
func NewPsqlGormConnection(opt DBConnOptions) (*gorm.DB, error)
Types ¶
type DBConnOptions ¶
type DBConnOptions struct { User string Password string Host string Port uint DBName string Schema string }
func (DBConnOptions) PostgresDSN ¶
func (o DBConnOptions) PostgresDSN() string
Click to show internal directories.
Click to hide internal directories.