Documentation
¶
Index ¶
- Variables
- func NewStore(db *sqlx.DB) clapper.CrewRepo
- type Store
- func (m *Store) Delete(ctx context.Context, crewID int) error
- func (m *Store) DeleteUser(ctx context.Context, crewID int) error
- func (m *Store) Get(ctx context.Context, crewID int) (*clapper.CrewPosition, error)
- func (m *Store) New(ctx context.Context, signupID, positionID int) error
- func (m *Store) UpdateUser(ctx context.Context, crewID, userID int) error
- func (m *Store) UpdateUserAndVerify(ctx context.Context, crewID, userID int) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store encapsulates our dependency
func (*Store) DeleteUser ¶
DeleteUser clears the user ID from the crew ID object
func (*Store) UpdateUser ¶
UpdateUser Updates the user field for the specified crew ID to the specified user ID
Click to show internal directories.
Click to hide internal directories.