repository

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 14, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRepo

func NewRepo(connpool *pgxpool.Pool) domain.ChikitoRepository

Types

type Repository

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

func (*Repository) CreateChikito

func (r *Repository) CreateChikito(ctx context.Context, chikito *domain.ChikitoCreate) (*domain.Chikito, error)

func (*Repository) GetChikito

func (r *Repository) GetChikito(ctx context.Context, id string) (*domain.Chikito, error)

Jump to

Keyboard shortcuts

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