Documentation ¶
Index ¶
- type Profile
- type ProfileRepository
- func (r ProfileRepository) CreateProfile(ctx context.Context, profile *models.Profile) error
- func (r ProfileRepository) DeleteProfile(ctx context.Context, id string) error
- func (r ProfileRepository) GetProfile(ctx context.Context, id string) (*models.Profile, error)
- func (r ProfileRepository) SearchProfile(ctx context.Context, firstName, lastName string) ([]*models.Profile, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProfileRepository ¶
type ProfileRepository struct {
// contains filtered or unexported fields
}
func NewProfileRepository ¶
func NewProfileRepository(conn *pgxpool.Pool) *ProfileRepository
func (ProfileRepository) CreateProfile ¶
func (ProfileRepository) DeleteProfile ¶
func (r ProfileRepository) DeleteProfile(ctx context.Context, id string) error
func (ProfileRepository) GetProfile ¶
func (ProfileRepository) SearchProfile ¶
Click to show internal directories.
Click to hide internal directories.