Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 421 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 421 Bytes

go

Learning GoLang.

Tour of Go

Some examples from https://tour.golang.org/

import within the same package

cd src/samePackage
go run main.go state.go
go build && ./samePackage

hello package

This is my first go package.

Setup environment

cd src/hello
export GOPATH=$GOPATH:$(pwd)

Run

go run main.go
go build && ./hello