danhab99 to GolangEnglish · 1 year agoI kinda wish there was a better way to do if err != nil in gogithub.comexternal-linkmessage-square10fedilinkarrow-up111arrow-down16file-text
arrow-up15arrow-down1external-linkI kinda wish there was a better way to do if err != nil in gogithub.comdanhab99 to GolangEnglish · 1 year agomessage-square10fedilinkfile-text
minus-squarepodatuslinkfedilinkarrow-up3·1 year agoI would rename Check to Must which there is at least some precedent for.
minus-squaredanhab99OPlinkfedilinkarrow-up1·edit-21 year agoOh yeah and it’s also less to type. Good idea! Edit: here’s the change https://github.com/danhab99/idk/blob/main/idk.go#L13
I would rename Check to Must which there is at least some precedent for.
Oh yeah and it’s also less to type. Good idea!
Edit: here’s the change https://github.com/danhab99/idk/blob/main/idk.go#L13