mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 18:51:03 +01:00
Fix readme
This commit is contained in:
parent
bffd2074eb
commit
39f58fe286
|
@ -118,10 +118,10 @@ func main(){
|
||||||
})
|
})
|
||||||
|
|
||||||
iris.Get("/myjson", func(ctx *iris.Context){
|
iris.Get("/myjson", func(ctx *iris.Context){
|
||||||
ctx.JSON(iris.Map{
|
ctx.JSON(iris.StatusOK, iris.Map{
|
||||||
"Name": "Iris",
|
"Name": "Iris",
|
||||||
"Released": "13 March 2016",
|
"Released": "13 March 2016",
|
||||||
"Stars": 5250,
|
"Stars": 5281,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user