79406723

Date: 2025-02-02 14:03:57
Score: 3.5
Natty:
Report link

Just as I was about to post this as a question - it hit me...

type assertion to the same type: (*valPtr) already has type interface{} (S1040) in other words: dereferenced valPtr (which is of type *interface{}) is of type interface{}; why are you casting it to an interface{} (again)??

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Nikola Cekić