quickfix
quickfix copied to clipboard
implement stringer interface for enums
Adds the String() function to enums, satisfying the fmt.Stringer interface. Returns the enum description and falls back to "Unknown_{EnumNameHere}" if for some reason a case hasn't been accounted for automatically.