minus-squareWilk@masto.biketoGolang@programming.dev•Fighting Rust Anxiety: Insights from a Go Developer, Navigating Rust Syntax Shenaniganslinkfedilinkarrow-up1arrow-down1·1 year ago@gnus_migrate @nebiros In Go we consider errors as values and not fatal or exceptions. For example sql.ErrNoRows , io.EOF, custom… It’s why they are returned and used like any other values. linkfedilink
minus-squareWilk@masto.biketoGolang@programming.dev•Go 1.21 Release Candidatelinkfedilinkarrow-up2·1 year ago@nickel Not boring release this time ! linkfedilink
@gnus_migrate @nebiros In Go we consider errors as values and not fatal or exceptions. For example sql.ErrNoRows , io.EOF, custom… It’s why they are returned and used like any other values.