Go is a programming language made by google and one thing I really enjoy about it is the different paradigm presented to the…