Author: Golang News

Foreach Loops: The Go Way

The foreach keyword itself does not exist within Go, instead the for loop can be adapted to work in the same maner. The difference however, is by using the range keyword and a for loop together. Like foreach loops in many other...

Read More