postgres

package
v1.0.10 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2026 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) MailingList added in v1.0.10

func (r *Repository) MailingList() *mailingListRepository

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