Skip to content

Commit

Permalink
server run
Browse files Browse the repository at this point in the history
  • Loading branch information
asoseil committed Sep 1, 2016
1 parent 8c269b0 commit 0e83ef7
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions server/main.go
Original file line number Diff line number Diff line change
@@ -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"))
}

0 comments on commit 0e83ef7

Please sign in to comment.