Skip to content

shadman/go-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Install GO

$ sudo apt install golang-go

Setup environment variable

export GOPATH=$HOME/Projects/go

Commands

Get repository code

$ got get github.com/shadman/go-hello-world

Run golang program

$ go run hello.go

Testing

$ go test

Build binary (sometimes binary file is required)

$ go build

Run build

$ ./helloworld

Install binary

$ go install

Reference

https://gobyexample.com/hello-world

About

go test example for hello world

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages