20 lines
461 B
Markdown
20 lines
461 B
Markdown
![]() |
[x] what?
|
||
|
[x] why?
|
||
|
[x] struct type
|
||
|
[x] struct literal
|
||
|
[x] anonymous structs
|
||
|
[x] named structs
|
||
|
[x] struct fields
|
||
|
[x] compare and assign
|
||
|
[x] printing
|
||
|
[ ] embedding
|
||
|
|
||
|
**LATER:**
|
||
|
[ ] exporting struct and fields
|
||
|
[ ] funcs: constructor pattern
|
||
|
[ ] using anonymous structs when testing
|
||
|
[ ] pointers:
|
||
|
[ ] struct tags {json encode/decode} - project?
|
||
|
[ ] structs and pointers - later
|
||
|
[ ] padding and memory layout - later
|
||
|
[ ] empty struct (in channels section)
|