gitee.com/quant1x/engine@v1.8.4/labs/reflect_test.go (about) 1 package labs 2 3 import ( 4 "fmt" 5 "gitee.com/quant1x/engine/factors" 6 "reflect" 7 "testing" 8 ) 9 10 func TestReflect(t *testing.T) { 11 //lazyInit() 12 fia := reflect.TypeOf((*factors.Feature)(nil)).Elem() 13 v := FindImplements(fia) 14 fmt.Println(v) 15 }