It's verbose as all hell, but on the other hand you'll notice immediately if it's missing.
Go is not a "fun" language by any means, but that doesn't mean it's not a productive one.
You instantly notice it because the if err != nil -template is missing after it =)
https://github.com/golang/go/issues/20803
In contrast, e.g. Zig requires you to use _ if you want to ignore.
It's verbose as all hell, but on the other hand you'll notice immediately if it's missing.
Go is not a "fun" language by any means, but that doesn't mean it's not a productive one.