package models type Status int const ( Blocked Status = 0 Available Status = 1 Background Status = 2 Active Status = 3 Completed Status = 4 Failed Status = 5 Dropped Status = 6 ) var StatusLabels = map[Status]string{ Blocked: "Blocked", Available: "Available", Background: "Background", Active: "Active", Completed: "Completed", Failed: "Failed", Dropped: "Dropped", }