go_playground/5-go-by-example
2021-12-31 15:36:34 +01:00
..
1-hello-world.go starting go by example 2021-12-31 15:36:34 +01:00
2-values.go starting go by example 2021-12-31 15:36:34 +01:00
3-variables.go starting go by example 2021-12-31 15:36:34 +01:00
4-constants.go starting go by example 2021-12-31 15:36:34 +01:00
5-for.go starting go by example 2021-12-31 15:36:34 +01:00
6-if-else.go starting go by example 2021-12-31 15:36:34 +01:00
7-switch.go starting go by example 2021-12-31 15:36:34 +01:00
8-arrays.go starting go by example 2021-12-31 15:36:34 +01:00
9-slices.go starting go by example 2021-12-31 15:36:34 +01:00
10-maps.go starting go by example 2021-12-31 15:36:34 +01:00
readme.md starting go by example 2021-12-31 15:36:34 +01:00

Go by example

Go has different learning paths of which one is Go by example.

Here are all files with notations and more.

How to use the files:

# compile and run in the folder
go run <filename>.go

# build binary from file; after that run binary
go build <filename>.go
./<filename>

The code and structure is work of Mark McGranaghan and licensed under a Creative Commons Attribution 3.0 Unported License. The Go Gopher is copyright Renée French. The original repository can be found on Github