mirror of
https://github.com/kataras/iris.git
synced 2025-01-23 02:31:04 +01:00
minor
This commit is contained in:
parent
c1fa064d98
commit
7761069873
|
@ -203,6 +203,10 @@ func Do(w http.ResponseWriter, r *http.Request, handler iris.Handler, irisConfig
|
|||
app.ContextPool.Release(ctx)
|
||||
}
|
||||
|
||||
// IrisTesty is an interface which all testing package should implement.
|
||||
// The `httptest` standard package and `ginkgo` third-party module do implement this interface indeed.
|
||||
//
|
||||
// See the `New` package-level function for more.
|
||||
type IrisTesty interface {
|
||||
Cleanup(func())
|
||||
Error(args ...any)
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
package httptest
|
||||
|
||||
import (
|
||||
"github.com/kataras/iris/v12"
|
||||
"net/http/httptest"
|
||||
|
||||
"github.com/kataras/iris/v12"
|
||||
)
|
||||
|
||||
// NewServer is just a helper to create a new standard
|
||||
|
|
Loading…
Reference in New Issue
Block a user