danhab99@programming.dev to Golang@programming.devEnglish · 1 year agoI kinda wish there was a better way to do if err != nil in gogithub.comexternal-linkmessage-square10fedilinkarrow-up111arrow-down15file-text
arrow-up16arrow-down1external-linkI kinda wish there was a better way to do if err != nil in gogithub.comdanhab99@programming.dev to Golang@programming.devEnglish · 1 year agomessage-square10fedilinkfile-text
minus-squarepodatus@programming.devlinkfedilinkarrow-up3·1 year agoI would rename Check to Must which there is at least some precedent for.
minus-squaredanhab99@programming.devOPlinkfedilinkarrow-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