2017-06-15 09:30:32 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"github.com/labstack/echo"
|
|
|
|
"net/http"
|
|
|
|
)
|
|
|
|
|
2017-08-30 20:23:35 +00:00
|
|
|
func showList(c echo.Context) error {
|
2017-08-31 16:37:43 +00:00
|
|
|
|
|
|
|
//Config
|
|
|
|
SiteConf := initConfig()
|
|
|
|
|
2017-06-15 09:30:32 +00:00
|
|
|
//Template
|
2017-08-31 16:37:43 +00:00
|
|
|
return c.Render(http.StatusOK, "index", SiteConf)
|
2017-06-15 09:30:32 +00:00
|
|
|
}
|