-
Notifications
You must be signed in to change notification settings - Fork 1
/
n.final-notes.txt
81 lines (62 loc) · 2.15 KB
/
n.final-notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
---
Things not covered, but very useful.
---
Embedding (https://golang.org/doc/effective_go.html#embedding)
Logging (https://github.com/sirupsen/logrus)
Metrics (check https://github.com/rcrowley/go-metrics, https://github.com/fabiolb/fabio/tree/master/metrics)
Command-line interface handling (e.g. https://github.com/spf13/cobra)
Configuration (e.g. https://github.com/spf13/viper)
Compilation, dynamic dispatch, garbage collection, etc. (
https://github.com/teh-cmc/go-internals,
https://blog.altoros.com/golang-part-1-main-concepts-and-project-structure.html
)
---
Useful links.
---
https://golang.org/ref/spec -- Really, this is a marvel, you can read the Spec. It's full of useful explanations and examples.
https://golang.org/doc/effective_go.html
https://github.com/cristaloleg/go-advices (My teammate's list)
https://segment.com/blog/allocation-efficiency-in-high-performance-go-services (pointers vs values, escape analysis, efficiency).
http://devs.cloudimmunity.com/gotchas-and-common-mistakes-in-go-golang/
https://dave.cheney.net/2014/06/07/five-things-that-make-go-fast
---
Books.
---
“The Go Programming Language” Donovan & Kernighan
---
Go programming practice.
---
https://peter.bourgon.org/go-best-practices-2016/
https://peter.bourgon.org/blog/2017/06/09/theory-of-modern-go.html
https://peter.bourgon.org/go-for-industrial-programming/
https://medium.com/@benbjohnson/standard-package-layout-7cdbc8391fc1
---
Advanced slices and maps materials.
---
https://blog.golang.org/slices
https://blog.golang.org/go-slices-usage-and-internals
https://dave.cheney.net/2018/07/12/slices-from-the-ground-up
https://dave.cheney.net/2018/05/29/how-the-go-runtime-implements-maps-efficiently-without-generics
---
Advanced testing.
---
http://cs-guy.com/blog/2015/01/test-main/
---
Profiling & debugging.
---
https://golang.org/doc/diagnostics.html
https://blog.golang.org/profiling-go-programs
https://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
---
Go's Assembler.
---
https://golang.org/doc/asm
---
Memory model.
---
https://golang.org/ref/mem
---
Functional style.
---
Interesting piece of code:
https://golang.org/doc/codewalk/functions/