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

examples: minor. See prev commit

This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-08-31 20:46:25 +03:00
parent 477f5e6f9b
commit 29084d062e

View File

@@ -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")
}