1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00

mvc: struct field and method dependency logs on debug level. Read HISTORY.md

- remove Party.GetReporter

- Read HISTORY.md
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-24 21:44:29 +03:00
parent ef5685bf7e
commit 5e82fa5b89
24 changed files with 435 additions and 167 deletions

View File

@@ -12,13 +12,15 @@ import (
func main() {
app := iris.New()
app.Logger().SetLevel("debug")
app.Get("/ping", pong).Describe("healthcheck")
mvc.Configure(app.Party("/greet"), setup)
// http://localhost:8080/greet?name=kataras
addr := ":" + environment.Getenv("PORT", "8080")
app.Listen(addr, iris.WithLogLevel("debug"))
app.Listen(addr)
}
func pong(ctx iris.Context) {