Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PSQLDatabase ¶
PSQLDatabase accesses to PostgresSQL with other fields.
func NewPSQLDatabase ¶
func NewPSQLDatabase(ctx context.Context, connString string, logger *log.Logger) (*PSQLDatabase, error)
NewPSQLDatabase creates a new connection to db and tries to connect to it.
func (*PSQLDatabase) Logger ¶
func (db *PSQLDatabase) Logger() *log.Logger
Click to show internal directories.
Click to hide internal directories.