forked from golang/tour
-
Notifications
You must be signed in to change notification settings - Fork 1
/
TODO
104 lines (102 loc) · 1.98 KB
/
TODO
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
This file lists topics that already exist (prefixed by *) and topics that
should be added (prefixed by -). It should be kept up-to-date with tour.article.
* Hello, 世界
* Go local
* Packages
* Imports
- "Imported but not used" errors (later perhaps)
* Exported names
* Functions
* Functions continued
* Multiple results
* Named results
- Variables (single declaration first)
* Variables
* Variables with initializers
* Short variable declarations
* Basic types
* Type inference
* Type conversions
* Zero values
* Constants
* Numeric Constants
* For
* For continued
* For is Go's "while"
* Forever
* If
* If with a short statement
* If and else
* Exercise: Loops and Functions
* Structs
* Struct Fields
* Pointers
* Struct Literals
* The new function
* Arrays
* Slices
* Slicing slices
* Making slices
* Append
- Copy
* Nil slices
* Range
* Range continued
- The blank identifier
- Slices of slices.
* Exercise: Slices
* Maps
* Map literals
* Map literals continued
* Mutating Maps
- Maps and range
* Exercise: Maps
* Function values
* Function closures
* Exercise: Fibonacci closure
* Switch
* Switch evaluation order
* Switch with no condition
- Complex numbers
* Advanced Exercise: Complex cube roots
- the type keyword
* Methods and Interfaces
* Methods
* Methods continued
* Methods with pointer receivers
* Interfaces
* Interfaces are satisfied implicitly
- Interface assignment
- Empty interface
* Errors
* Exercise: Errors
* Web servers
* Exercise: HTTP Handlers
* Images
* Exercise: Images
* Exercise: Rot13 Reader
- Sort (see sort package examples)
- Exercise: Sort
- Embedding
- Exercise: Embedding (sort by different fields)
- Type assertion
- Type switch
- Exercise: Visitor (walk a tree?)
* Concurrency
* Goroutines
* Channels
* Buffered Channels
* Range and Close
* Select
* Default Selection
* Exercise: Equivalent Binary Trees
* Exercise: Equivalent Binary Trees
* Exercise: Web Crawler
- More language features
* Defer
- Panic and recover
- init functions
- Tools
- Godoc
- Gofmt
* Where to Go from here...