💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
[TOC] ## 实例 ``` func main() { r := gin.Default() r.GET("/JSONP", func(c *gin.Context) { data := gin.H{ "foo": "bar", } c.JSONP(http.StatusOK, data) }) r.Run(":8080") } ``` `curl http://127.0.0.1:8080/JSONP?callback=x`