Comment Comment by jjjeii3 Why doesn't GO have a try-catch blocks? Every file I see have dozens similar lines:if err != nil { log.Fatal(err) }In C# I can just log error on one place and transaction will be automatically rolled back. Much less code. parent jjjeii3 5 years ago
if err != nil { log.Fatal(err) }
In C# I can just log error on one place and transaction will be automatically rolled back. Much less code.