From 60d505a966980f6d81df9a45d7e4b2edd9d5a890 Mon Sep 17 00:00:00 2001 From: zv0n Date: Sat, 29 Oct 2022 13:42:53 +0200 Subject: [PATCH] Remove hello world --- cmd/lunch-go/main.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cmd/lunch-go/main.go b/cmd/lunch-go/main.go index ad9d966..bcd21a2 100644 --- a/cmd/lunch-go/main.go +++ b/cmd/lunch-go/main.go @@ -53,7 +53,6 @@ func refresh(c *gin.Context) { } func main() { - fmt.Println("Hello, World!") restaurants = append(restaurants, r.NewMenickaRestaurant("https://www.menicka.cz/2752-u-drevaka-beergrill.html", "U Dřeváka")) restaurants = append(restaurants, r.NewMenickaRestaurant("https://www.menicka.cz/4116-padagali.html", "Padagali")) restaurants = append(restaurants, r.NewMenickaRestaurant("https://www.menicka.cz/5448-light-of-india.html", "Light of India")) @@ -71,7 +70,7 @@ func main() { router.GET("/get_all", getAll) router.GET("/get", get) router.GET("/refresh", refresh) - router.Run("localhost:8080") + router.Run("0.0.0.0:8080") /* test := restaurants.MakeMenickaRestaurant("https://www.menicka.cz/2752-u-drevaka-beergrill.html", "U Dřeváka") test.Parse()