repository

package
v0.0.0-...-3b97d42 Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ProvidePostgres

func ProvidePostgres(config *pkg.Config, logger *zap.Logger) (*sql.DB, func(), error)

Types

type PostgresMeowRepository

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

func ProvidePostgresMeowRepository

func ProvidePostgresMeowRepository(database *sql.DB) *PostgresMeowRepository

func (*PostgresMeowRepository) Create

func (repository *PostgresMeowRepository) Create(meow *domain.Meow) (int, error)

Jump to

Keyboard shortcuts

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