realize/server/main.go

16 lines
270 B
Go
Raw Normal View History

2016-09-01 22:35:31 +00:00
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"))
}