mirror of https://github.com/gin-gonic/gin.git
docs(test): add missing inline docs
This commit is contained in:
parent
484acfc303
commit
92ddc7d240
|
@ -8,6 +8,7 @@ import (
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
// CreateTestContext returns a fresh engine and context for testing purposes
|
||||||
func CreateTestContext(w http.ResponseWriter) (c *Context, r *Engine) {
|
func CreateTestContext(w http.ResponseWriter) (c *Context, r *Engine) {
|
||||||
r = New()
|
r = New()
|
||||||
c = r.allocateContext()
|
c = r.allocateContext()
|
||||||
|
|
Loading…
Reference in New Issue