1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 18:07:01 +00:00
Former-commit-id: 533b277c6a33d44da48df2ad9ca2b5ebb962bc96
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-01-04 11:16:40 +02:00
parent 8d12c526d8
commit 8b74e3343d
2 changed files with 2 additions and 2 deletions

View File

@@ -234,7 +234,7 @@ func main() {
}
})
app.Get("/static_validation/{name:string has([kataras,gerasimos,maropoulos]}", func(ctx iris.Context) {
app.Get("/static_validation/{name:string has([kataras,gerasimos,maropoulos])}", func(ctx iris.Context) {
name := ctx.Params().Get("name")
ctx.Writef(`Hello %s | the name should be "kataras" or "gerasimos" or "maropoulos"
otherwise this handler will not be executed`, name)