声明 func GetChildByName(parent entity<Entity>, name string) entity<Entity> go 参数 输入 名称 类型 描述 父节点 Entity 父节点实体 名字 String 子节点名称 返回 类型 描述 Entity 子节点实体