#golang

How to Handle Errors in Golang

Error handling is an essential part of writing robust and reliable Go programs. In this article, we'll explore the different ways to handle errors in Go, including error values, error types, and the `errors` package.

Understanding Structs in Golang

Learn structs in Go: how to define them, create instances, access fields, and use nested and anonymous structs to model your own data types.

Golang String Snippets

Go string snippets with code: capitalize the first letter of a string, check whether a string is a palindrome, and reverse a string.