1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-18 18:37: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, // package main contains an example on how to use the ReadParams,
// same way you can do the ReadJSON & ReadProtobuf and e.t.c. // same way you can do the ReadQuery, ReadJSON, ReadProtobuf and e.t.c.
package main package main
import ( import (
@@ -16,7 +16,7 @@ func main() {
app := newApp() app := newApp()
// http://localhost:8080/kataras/27/iris/web/framework // 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") app.Listen(":8080")
} }