1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-17 09:57:01 +00:00

add Party.HandleServer and macro.IsMacro methods

This commit is contained in:
Gerasimos (Makis) Maropoulos
2023-12-06 01:09:43 +02:00
parent 6e8228596d
commit 7d540f580d
6 changed files with 121 additions and 2 deletions

View File

@@ -81,8 +81,9 @@ func makeStruct(structPtr interface{}, c *Container, partyParamsCount int) *Stru
singleton := true
elem := v.Elem()
// fmt.Printf("makeStruct: bindings length = %d\n", len(bindings))
// fmt.Printf("Service: %s, Bindings(%d):\n", typ, len(bindings))
for _, b := range bindings {
// fmt.Printf("* " + b.String() + "\n")
if b.Dependency.Static {
// Fill now.
input, err := b.Dependency.Handle(nil, b.Input)