procedimentos

package
v0.0.0-...-9687c8b Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store interface {
	GetAll(ctx context.Context) (*[]model.Procedimento, error)
	GetById(ctx context.Context, id string) (*model.Procedimento, error)
	GetByAnything(ctx context.Context, Procedimento *model.Procedimento) (*[]model.Procedimento, error)
	Set(ctx context.Context, procedimento *model.Procedimento) (*model.Procedimento, error)
	Update(ctx context.Context, procedimento *model.Procedimento) (*model.Procedimento, error)
	Delete(ctx context.Context, id string) error
}

func NewStore

func NewStore(db *sqlx.DB) Store

Jump to

Keyboard shortcuts

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