type StatusKind … const StatusSeverityLow … const StatusSeverityMedium … const StatusSeverityHigh … var statusToStatusKind … // StatusSimpleValueOf returns the string format of Status func StatusSimpleValueOf(s string) (Status, error) { … } // SimpleString returns the string format of Status func (x Status) SimpleString() string { … } // StatusKind returns the king of status func (x Status) StatusKind() StatusKind { … } // StatusKindMapLength used only for unit testing func StatusKindMapLength() int { … }