1
0
mirror of https://github.com/labstack/echo.git synced 2025-04-02 22:05:34 +02:00
Vishal Rana 49321f5829 Updated website and examples
Signed-off-by: Vishal Rana <vr@labstack.com>
2017-01-17 10:47:16 -08:00

18 lines
371 B
Go

// +build appengine
package main
import (
"net/http"
"github.com/labstack/echo"
)
func createMux() *echo.Echo {
e := echo.New()
// note: we don't need to provide the middleware or static handlers, that's taken care of by the platform
// app engine has it's own "main" wrapper - we just need to hook echo into the default handler
http.Handle("/", e)
return e
}