repo

package
v0.0.0-...-179ea12 Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2023 License: MIT Imports: 4 Imported by: 0

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.

Jump to

Keyboard shortcuts

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