打赏
摘要: ### 动态创建类 (1.)使用反射创建类 ``` import `reflect` var typeRegistry = make(map[string]reflect.Type) func RegisterType(elem interface{}) { t := reflect.TypeOf( 阅读全文
posted @ 2023-06-27 08:44 苍山落暮 阅读(87) 评论(0) 推荐(0) 编辑

喜欢请打赏

扫描二维码打赏

了解更多

点击右上角即可分享
微信分享提示