context of fx function (#223)
This commit is contained in:
9
examples/functions/Golang/func.go
vendored
Normal file
9
examples/functions/Golang/func.go
vendored
Normal 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",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user