Example #1
0
func main() {
	e := echo.New()
	e.SetRenderer(common.Template)
	common.InitRoutes(e)
	common.InitPostgres()
	e.Run(standard.New(":8080"))
}
Example #2
0
func main() {
	flag.Parse()
	e := echo.New()
	e.SetRenderer(common.Template)
	common.InitRoutes(e)
	common.InitPostgres()
	e.Run(fasthttp.WithConfig(engine.Config{
		Listener: getListener(),
	}))
}