Skip to content

Commit

Permalink
Remove debug printf
Browse files Browse the repository at this point in the history
  • Loading branch information
olbrichattila committed Jul 30, 2024
1 parent e23832a commit b307707
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions internal/container/container.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,6 @@ func (t *Cont) Call(fn interface{}, params ...interface{}) ([]reflect.Value, err
return nil, fmt.Errorf("fn is not a function")
}

fmt.Printf("Function has %d parameters:\n", fnType.NumIn())
passParams := []reflect.Value{}

// First add passed params
Expand All @@ -199,7 +198,6 @@ func (t *Cont) Call(fn interface{}, params ...interface{}) ([]reflect.Value, err
}

passParams = append(passParams, reflect.ValueOf(param))
fmt.Printf("Parameter %d: %s\n", i+1, paramType)
}

result := method.Call(passParams)
Expand Down

0 comments on commit b307707

Please sign in to comment.