Wednesday, November 14, 2018

Install go via terminal

Why programmer just like you use terminal instead of G-U-I? Post your answer below , i like terminal because , it help me to understand what application work. First download file from go official website and follow the instruction and make sure environment set properly.

open terminal and type 
$ go
               go command open go shell , now you can run go program, test, check version etc.
[$ terminal ready to read ]

$go build helloGo.go
               this line compile go program just like c or c++
$./helloGo
               now you can want to see your output
$go run helloGo.go
             this line perform all tasks which build or ./ perform. Tasks such as compile or link the output and also execute the program  
$go version
             go version print version
go version go10.1 linux/amd64



No comments:

Post a Comment

Do you support us?

Business address
0x1D24D8f27ea73ff604C7685246bdC6ae55bddaEF

Founders father's principles and hell

  When a man even enters through golden gates, poverty, chronic disease, inflation, debt, lethal and vehemence and bribery ectra handed ove...

Achieves