Go Functions (Part 1) — The anatomy of a regular function

Functions are used for organising your code into reusable blocks of code, and these code blocks in turn, performs a specific task.

This article is part of the Functions in Go series

Photo by Sven Brandsma on Unsplash

There are different types of functions, but in this post we’re just going to look at a regular function. Functions are declared using the keyword.