Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PostgresRepo ¶
type PostgresRepo struct {
// contains filtered or unexported fields
}
PostgresRepo provides the necessary functionality for working against a Postgres database.
func NewPostgresRepo ¶
func NewPostgresRepo(db *pgxpool.Pool) *PostgresRepo
NewPostgresRepo returns a pointer to a new instance of PostgresRepo.
func (*PostgresRepo) GetFunctions ¶
func (r *PostgresRepo) GetFunctions() ([]model.Function, error)
GetFunctions returns all functions in the Postgres database.
Click to show internal directories.
Click to hide internal directories.