postgres

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	ConnString string `mapstructure:"conn_string"`
}

func (*Config) Bind

func (c *Config) Bind()

func (*Config) Validate

func (c *Config) Validate() error

type Repository

type Repository struct {
	// contains filtered or unexported fields
}

func New

func New(ctx context.Context, cfg Config) (*Repository, error)

func (*Repository) Close

func (r *Repository) Close() error

func (*Repository) Workspaces

func (r *Repository) Workspaces() *workspacesRepository

Jump to

Keyboard shortcuts

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