client

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

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

func NewClientPg

func NewClientPg(ctx context.Context, t *testing.T, conf Config) (*Client, error)

func (*Client) DB

func (c *Client) DB() *sql.DB

func (*Client) Migrate

func (c *Client) Migrate(migrateDir string) error

type Config

type Config struct {
	Host     string
	User     string
	Port     int
	DbName   string
	Password string
}

func (Config) String

func (c Config) String() string

Jump to

Keyboard shortcuts

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