package constants type ConnStatus int8 const ( ConnStatusClosed ConnStatus = iota ConnStatusNormal ConnStatusIgnore ) type TaskType int32 const ( TaskTypeApi TaskType = 1 TaskTypeKnowle TaskType = 2 TaskTypeFunc TaskType = 3 TaskTypeBot TaskType = 4 ) type UseFul int32 const ( UseFulNotSolve UseFul = 2 UseFulNotUnclear UseFul = 3 UseFulNotError UseFul = 4 ) var UseFulMap = map[UseFul]string{ UseFulNotSolve: "未解决问题", UseFulNotUnclear: "回答不明确", UseFulNotError: "理解错误", }