声明 func HasTag(target entity, customTag string) bool go 参数 输入 名称 类型 描述 目标 entity 目标实体 自定义标签 String 自定义标签 返回 类型 描述 Bool 是否包含指定标签