Skip to main content

Return a Bool or an Error in Go?

· 3 min read

In Go, errors are returned instead of exceptions being thrown when something goes wrong. In other languages, you might use a boolean to indicate the success of an operation. This post captures some thoughts on when to return a boolean and when to return an error in Go.

Tauri-0 - Setting up a Tauri project

· 2 min read

I have been planning to work on a toy project that combines my interest in frontend and backend development. Since Tauri is a way to create desktop applications using web technologies and Rust, I decided to explore it. This post starts a series of entries documenting my journey with Tauri, which I intend to commit to over the next year.

Go Errors

· 2 min read

In Go, errors are returned as values. We can construct them in several ways.