mirror of
https://github.com/kataras/iris.git
synced 2025-12-17 18:07:01 +00:00
version 12.1.5
Former-commit-id: cda69f08955cb0d594e98bf26197ee573cbba4b2
This commit is contained in:
@@ -39,7 +39,7 @@ func hasErrorOutArgs(fn reflect.Method) bool {
|
||||
|
||||
func getInputArgsFromFunc(funcTyp reflect.Type) []reflect.Type {
|
||||
n := funcTyp.NumIn()
|
||||
funcIn := make([]reflect.Type, n, n)
|
||||
funcIn := make([]reflect.Type, n)
|
||||
for i := 0; i < n; i++ {
|
||||
funcIn[i] = funcTyp.In(i)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user