go fmt
Simplify var declarations
Give appropriate hints to godoc for Priority

A const declaration block with all constant declared as the same type
will be diplayed by godoc with the type declaration.