go_playground/5-go-by-example
2022-01-12 19:22:31 +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
11-range.go go by example part 2 2022-01-01 19:47:24 +01:00
12-function.go go by example part 2 2022-01-01 19:47:24 +01:00
13-muliple-return-value.go go by example part 2 2022-01-01 19:47:24 +01:00
14-variadic-function.go go by example part 2 2022-01-01 19:47:24 +01:00
15-closures.go go by example part 2 2022-01-01 19:47:24 +01:00
16-recursion.go go by example part 2 2022-01-01 19:47:24 +01:00
17-pointers.go go by example part 2 2022-01-01 19:47:24 +01:00
18-structs.go go by example part 2 2022-01-01 19:47:24 +01:00
19-methods.go go by example part 2 2022-01-01 19:47:24 +01:00
20-interfaces.go go by example part 2 2022-01-01 19:47:24 +01:00
21-embedding.go go by example part 3 2022-01-05 22:56:08 +01:00
22-errors.go go by example part 3 2022-01-05 22:56:08 +01:00
23-goroutines.go go by example part 3 2022-01-05 22:56:08 +01:00
24-channels.go go by example part 3 2022-01-05 22:56:08 +01:00
25-channel-buffering.go go by example part 3 2022-01-05 22:56:08 +01:00
26-channel-synchronization.go go by example part 3 2022-01-05 22:56:08 +01:00
27-channel-directions.go go by example part 3 2022-01-05 22:56:08 +01:00
28-select.go go by example part 3 2022-01-05 22:56:08 +01:00
29-timeouts.go go by example part 3 2022-01-05 22:56:08 +01:00
30-non-blocking-channel-.go go by example part 3 2022-01-05 22:56:08 +01:00
31-closing-channels.go GO by example, part 4 2022-01-11 14:50:17 +01:00
32-range-over-channels.go GO by example, part 4 2022-01-11 14:50:17 +01:00
33-timers.go GO by example, part 4 2022-01-11 14:50:17 +01:00
34-tickers.go GO by example, part 4 2022-01-11 14:50:17 +01:00
35-worker-pools.go GO by example, part 4 2022-01-11 14:50:17 +01:00
36-wait-group.go GO by example, part 4 2022-01-11 14:50:17 +01:00
37-rate-limiting.go GO by example, part 4 2022-01-11 14:50:17 +01:00
38-atomic-counters.go GO by example, part 4 2022-01-11 14:50:17 +01:00
39-mutexes.go GO by example, part 4 2022-01-11 14:50:17 +01:00
40-stateful-goroutines.go GO by example, part 4 2022-01-11 14:50:17 +01:00
41-sorting.go GO by example, part 5 2022-01-12 19:22:31 +01:00
42-sorting-by-functions.go GO by example, part 5 2022-01-12 19:22:31 +01:00
43-panic.go GO by example, part 5 2022-01-12 19:22:31 +01:00
44-defer.go GO by example, part 5 2022-01-12 19:22:31 +01:00
45-recover.go GO by example, part 5 2022-01-12 19:22:31 +01:00
46-collection-function.go GO by example, part 5 2022-01-12 19:22:31 +01:00
47-string-functions.go GO by example, part 5 2022-01-12 19:22:31 +01:00
48-string-.formatting.go GO by example, part 5 2022-01-12 19:22:31 +01:00
49-regex.go GO by example, part 5 2022-01-12 19:22:31 +01:00
50-json.go GO by example, part 5 2022-01-12 19:22:31 +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