Writing a Function that Multiplies a Number by Two in Go

Share this video with your friends

Send Tweet

Functions are as useful in Go as many other programming languages. In this lesson we write a function that operates on numbers covering the func keyword, argument and return signatures, and writing the function body.