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

Function NewHelloController

demo/controller/hello_controller.go:11–13  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

9}
10
11func NewHelloController() *HelloController {
12 return &HelloController{}
13}
14func (controller *HelloController) GetTest(c *gin.Context) {
15 c.JSON(http.StatusOK, gin.H{
16 "code": 0,

Callers 1

RouteFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected