learn-go

module
v0.0.0-...-db3ee8d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 27, 2021 License: MPL-2.0

README

learn-go

Intro to GO based on https://tour.golang.org/welcome/1

go run fileName.go

To run go files cd to target dir, in cli execute go run fileName.go, for example:

go run ./arrays/array.go

Compile and create binary executable

cli cmd https://golang.org/cmd/go/

go build [-o output] [-i] [build flags] [packages]

in target dir go install

To see details go help [command name]

Specs

https://golang.org/ref/spec#Type_assertions

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL