Documentation ¶
Index ¶
- func AddToRestaurants(restaurant restaurant.R)
- func CreateTable()
- func DeleteRestaurantByName(name string) error
- func GetRestaurantsByArea(area string) ([]restaurant.R, error)
- func GetRestaurantsByRestaurant(name string) ([]restaurant.R, error)
- func OpenDatabase() error
- func UpdateRestaurantByName(name string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddToRestaurants ¶
func AddToRestaurants(restaurant restaurant.R)
func CreateTable ¶
func CreateTable()
func DeleteRestaurantByName ¶
func GetRestaurantsByArea ¶
func GetRestaurantsByArea(area string) ([]restaurant.R, error)
func GetRestaurantsByRestaurant ¶ added in v0.1.4
func GetRestaurantsByRestaurant(name string) ([]restaurant.R, error)
func OpenDatabase ¶
func OpenDatabase() error
func UpdateRestaurantByName ¶ added in v0.1.4
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.