Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store interface { GetByID(userId, restaurantId uuid.UUID) (*model.Restaurant, error) GetAll(userId uuid.UUID) ([]model.Restaurant, error) AddRestaurantToUser(userId uuid.UUID, restaurant model.Restaurant) error Update(uuid.UUID, *model.Restaurant) (*model.Restaurant, error) DeleteRestaurantFromUser(userId, restaurantId uuid.UUID) error AddAddressToRestaurant(userId, restaurantId uuid.UUID, addr *model.Address) (*model.Address, error) }
Click to show internal directories.
Click to hide internal directories.