From 0e83ef7bae7a12cd854cf18ecb7ad7e3da8a7575 Mon Sep 17 00:00:00 2001 From: alessio Date: Fri, 2 Sep 2016 00:35:31 +0200 Subject: [PATCH] server run --- server/main.go | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 server/main.go diff --git a/server/main.go b/server/main.go new file mode 100644 index 0000000..ca3105f --- /dev/null +++ b/server/main.go @@ -0,0 +1,15 @@ +package server + +import ( + "github.com/labstack/echo" + "github.com/labstack/echo/engine/standard" + "net/http" +) + +func init() { + e := echo.New() + e.GET("/", func(c echo.Context) error { + return c.String(http.StatusOK, "Hi Realize") + }) + go e.Run(standard.New(":5000")) +}