Error handling and Loops in Go
Go programs express errors with error values. An Error is any type that implements the simple built-in error interface:
type error interface {
Error() string
}
When something can go wrong in a function, that function should return an error as it...
go-lang.hashnode.dev6 min read