/golangexample

helloworld

Primary LanguageGo

Hello world on golang

Used tools:

  • go version go1.17 linux/amd64

How to compile

use this command to compile:

go build -o main.out src/main.go

How to exec

use this command to execute compiled code:

./main.out

How to run without compiling

use this command to run the code:

go run src/main.go