domain

package
v0.0.0-...-5a18fd7 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientRepository

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

func NewClientRepository

func NewClientRepository(db *sql.DB) ClientRepository

func (ClientRepository) FindById

func (c ClientRepository) FindById(id string) (*model.Client, error)

func (ClientRepository) FindByName

func (c ClientRepository) FindByName(name string) (*model.Client, error)

func (ClientRepository) GetClientsBetweenBirthdays

func (c ClientRepository) GetClientsBetweenBirthdays(startBirthday time.Time, endBirthday time.Time) ([]*model.Client, error)

Jump to

Keyboard shortcuts

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