context of fx function (#223)

This commit is contained in:
Minghe
2019-08-09 09:10:49 +08:00
committed by GitHub
parent 474cb26920
commit e301d2d54f
28 changed files with 251 additions and 29 deletions

9
examples/functions/Golang/func.go vendored Normal file
View File

@@ -0,0 +1,9 @@
package main
import "github.com/gin-gonic/gin"
func fx(ctx *gin.Context) {
ctx.JSON(200, gin.H{
"message": "hello world",
})
}