Documentation
¶
Index ¶
Constants ¶
View Source
const ( DefaultHost = "0.0.0.0" DefaultPort = 5432 DefaultDbName = "default" DefaultUser = "postgres" DefaultPassword = "" DefaultSSLMode = false DefaultLogLevel = gorm_logger.Error )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type PostgresConnector ¶
type PostgresConnector struct {
// contains filtered or unexported fields
}
func (*PostgresConnector) GetDB ¶
func (c *PostgresConnector) GetDB() *gorm.DB
Click to show internal directories.
Click to hide internal directories.