mirror of
https://github.com/kataras/iris.git
synced 2025-12-24 05:17:03 +00:00
fix typo
Former-commit-id: b6f9de4cf8d62210ffefba5d33dc8372d236748d
This commit is contained in:
@@ -28,14 +28,14 @@ func New() *D {
|
||||
return &D{}
|
||||
}
|
||||
|
||||
// Hijack sets a hijacker function, read the `Hijacker` type for more explaination.
|
||||
// Hijack sets a hijacker function, read the `Hijacker` type for more explanation.
|
||||
func (d *D) Hijack(fn Hijacker) *D {
|
||||
d.hijacker = fn
|
||||
return d
|
||||
}
|
||||
|
||||
// GoodFunc sets a type checker for a valid function that can be binded,
|
||||
// read the `TypeChecker` type for more explaination.
|
||||
// read the `TypeChecker` type for more explanation.
|
||||
func (d *D) GoodFunc(fn TypeChecker) *D {
|
||||
d.goodFunc = fn
|
||||
return d
|
||||
|
||||
@@ -13,7 +13,7 @@ type (
|
||||
|
||||
FuncInjector struct {
|
||||
// the original function, is being used
|
||||
// only the .Call, which is refering to the same function, always.
|
||||
// only the .Call, which is referring to the same function, always.
|
||||
fn reflect.Value
|
||||
|
||||
inputs []*targetFuncInput
|
||||
|
||||
Reference in New Issue
Block a user