gitee.com/zhongguo168a/gocodes@v0.0.0-20230609140523-e1828349603f/datax/generate/schema_go/sample/reflect_class.go (about) 1 // generate file: tag=schema_go: time=20220627 10:16:46.066 2 package sample 3 4 // imports 5 6 // init 7 8 // contents 9 10 func (ref *SampleClass) RefType() string { 11 return "sampleClass" 12 } 13 14 func (ref *Parent) RefType() string { 15 return "Parent" 16 } 17 18 func (ref *Class1) RefType() string { 19 return "Class1" 20 } 21 22 func (ref *Sub) RefType() string { 23 return "Sub" 24 } 25 26 func (ref *Sub1) RefType() string { 27 return "Sub1" 28 } 29 30 func (ref *M1Resp) RefType() string { 31 return "M1Resp" 32 } 33 34 func (ref *M1Args) RefType() string { 35 return "M1Args" 36 }