package main type Type int const ( Task Type = iota Plot Heading Kill Market Sell Byuing ) type Queue struct { Type Type Duration int Title string } func Dequeue(q Queue) { switch q.Type { case Kill: case Byuing: case Market, Sell: } }