mirror of
https://github.com/kataras/iris.git
synced 2026-01-11 05:55:57 +00:00
Fix readme
This commit is contained in:
@@ -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,
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user