From 29084d062ece21adfcc936d84a04ee99257cccd4 Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Mon, 31 Aug 2020 20:46:25 +0300 Subject: [PATCH] examples: minor. See prev commit --- _examples/request-body/read-params/main.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/_examples/request-body/read-params/main.go b/_examples/request-body/read-params/main.go index 2dbbdd76..993f59b5 100644 --- a/_examples/request-body/read-params/main.go +++ b/_examples/request-body/read-params/main.go @@ -1,5 +1,5 @@ -// package main contains an example on how to use the ReadQuery, -// same way you can do the ReadJSON & ReadProtobuf and e.t.c. +// package main contains an example on how to use the ReadParams, +// same way you can do the ReadQuery, ReadJSON, ReadProtobuf and e.t.c. package main import ( @@ -16,7 +16,7 @@ func main() { app := newApp() // http://localhost:8080/kataras/27/iris/web/framework - // MyType: main.MyType{Name:"kataras", Age:27, Tail:[]string{"iris", "web", "framework"}} + // myParams: main.myParams{Name:"kataras", Age:27, Tail:[]string{"iris", "web", "framework"}} app.Listen(":8080") }