MCPcopy Create free account
hub / github.com/260721735/ginRouteAutoRegister / PutTest

Method PutTest

demo/controller/hello_controller.go:45–51  ·  view source on GitHub ↗
(c *gin.Context)

Source from the content-addressed store, hash-verified

43 })
44}
45func (controller *HelloController) PutTest(c *gin.Context) {
46 c.JSON(http.StatusOK, gin.H{
47 "code": 0,
48 "msg": "PutTest",
49 "data": nil,
50 })
51}
52
53func (controller *HelloController) OptionsTest(c *gin.Context) {
54 c.JSON(http.StatusOK, gin.H{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected