you are viewing a single comment's thread
view the rest of the comments
[–] 0 points 3 years ago (2 children)

@gnus_migrate @nebiros In Go we consider errors as values and not fatal or exceptions. For example sql.ErrNoRows , io.EOF, custom... It's why they are returned and used like any other values.

  • source
  • parent
  • hideshow 4 child comments