mirror of
https://github.com/kataras/iris.git
synced 2025-12-18 02:17:05 +00:00
fix #2158 and more
This commit is contained in:
@@ -57,6 +57,8 @@ func makeStruct(structPtr interface{}, c *Container, partyParamsCount int) *Stru
|
||||
// If static then Struct.Acquire will return the same "value" instance, otherwise it will create a new one.
|
||||
singleton := true
|
||||
elem := v.Elem()
|
||||
|
||||
// fmt.Printf("makeStruct: bindings length = %d\n", len(bindings))
|
||||
for _, b := range bindings {
|
||||
if b.Dependency.Static {
|
||||
// Fill now.
|
||||
|
||||
Reference in New Issue
Block a user