Add snippet for go error handling

This commit is contained in:
Kenneth Benzie 2025-05-22 22:59:37 +01:00
parent fee0736439
commit bc201b3581

View File

@ -6,3 +6,8 @@ snippet main
func main() {
$0
}
snippet err
if err != nil {
$0
}