MCPcopy
hub / github.com/gin-gonic/gin / GET

Method GET

routergroup.go:116–118  ·  view source on GitHub ↗

GET is a shortcut for router.Handle("GET", path, handlers).

(relativePath string, handlers ...HandlerFunc)

Source from the content-addressed store, hash-verified

114
115// GET is a shortcut for router.Handle("GET", path, handlers).
116func (group *RouterGroup) GET(relativePath string, handlers ...HandlerFunc) IRoutes {
117 return group.handle(http.MethodGet, relativePath, handlers)
118}
119
120// DELETE is a shortcut for router.Handle("DELETE", path, handlers).
121func (group *RouterGroup) DELETE(relativePath string, handlers ...HandlerFunc) IRoutes {

Callers 2

staticFileHandlerMethod · 0.95
StaticFSMethod · 0.95

Calls 1

handleMethod · 0.95

Tested by

no test coverage detected