Hi ! In this article, we will print ‘Hi bro, watsup ?’ in the Go programming language on Linux.
First, make sure that you have Go installed.
We will install go
using yay
on Arch linux btw:
|
|
Then, open a new hi.go
file using your text editor (vim in my case) and start coding:
|
|
|
|
Almost done, now exit your text editor and compile your code with the following command:
|
|
Finally, running the executable will give you the following output:
|
|
Thank you for reading !