Try's for Go

https://t.co/BwYSb9Kf9y



In Go it’s typical to return errors as soon as they happen and handle them locally, or wrap them with some additional context and pass them back up the stack. In Scala however it’s idiomatic to wrap an error into a Try which represents either a successfully computed value or an error.



#golang #error #try