adapter

package
v0.0.0-...-f7dd486 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDBConnectionFromPGXPool

func NewDBConnectionFromPGXPool(pool *pgxpool.Pool) migrator.DBConnection

Types

type DirectoryOperator

type DirectoryOperator struct {
}

func NewDirectoryOperator

func NewDirectoryOperator() *DirectoryOperator

func (*DirectoryOperator) IsFileExist

func (do *DirectoryOperator) IsFileExist(name string) bool

func (*DirectoryOperator) ReadFile

func (do *DirectoryOperator) ReadFile(name string) ([]byte, error)

type PGXPoolAdapter

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

func (PGXPoolAdapter) Exec

func (p PGXPoolAdapter) Exec(ctx context.Context, sql string) error

Jump to

Keyboard shortcuts

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