github.com/wfusion/gofusion@v1.1.14/common/di/stubs.go (about) 1 package di 2 3 import ( 4 "fmt" 5 "reflect" 6 7 _ "unsafe" 8 ) 9 10 //go:linkname newParam go.uber.org/dig.newParam 11 func newParam(t reflect.Type, c containerStore) (param, error) 12 13 // param go.uber.org/dig.param 14 type param interface { 15 fmt.Stringer 16 Build(store containerStore) (reflect.Value, error) 17 DotParam() []*struct{} 18 } 19 20 // containerStore go.uber.org/dig.containerStore 21 type containerStore interface { 22 }