//String method to get the Severity String
String method to get the Severity String
// String method to get the Severity String
func (sev Severity) String() (string, error) {
	if sev < 0 || sev > 5 {
		return "", errors.New("Invalid severity ")
	}
	return Levels[sev], nil
}
func ( sev Severity ) String ( ) ( string , error ) { if sev < 0 || sev > 5 { return " " , errors . New ( " " ) } return Levels [ sev ] , nil }
String method to get the Severity String
String method to get the Severity String