Learning Go: Functions
Published in
6 min readMar 20, 2020
In this article, I’m going to demonstrate how to write and use functions in Go. I’ll discuss both value-returning functions and functions which are used just for their effects (what are called void functions in some programming languages).