聲明 func HasTag(target entity, customTag string) bool go 參數 輸入 名稱 類型 描述 目標 entity 目標實體 自定義標籤 String 自訂標籤 返回 類型 描述 Bool 是否包含指定標籤