Directories
¶
| Path | Synopsis |
|---|---|
|
exercises
|
|
|
exercise1
command
Declare a struct type that represents a request for a customer invoice.
|
Declare a struct type that represents a request for a customer invoice. |
|
template1
command
Declare a struct type that represents a request for a customer invoice.
|
Declare a struct type that represents a request for a customer invoice. |
|
inspect
|
|
|
integer
command
Example shows how to use reflection to decode an integer.
|
Example shows how to use reflection to decode an integer. |
|
struct
command
Example shows how to inspect a structs fields and display the field name, type and value.
|
Example shows how to inspect a structs fields and display the field name, type and value. |
|
interface
|
|
|
map
command
Example shows how to reflect over a map of struct type values that are stored inside an interface value.
|
Example shows how to reflect over a map of struct type values that are stored inside an interface value. |
|
pointer
command
Example shows how to reflect over a struct type pointer that is stored inside an interface value.
|
Example shows how to reflect over a struct type pointer that is stored inside an interface value. |
|
slice
command
Example shows how to reflect over a slice of struct type values that are stored inside an interface value.
|
Example shows how to reflect over a slice of struct type values that are stored inside an interface value. |
|
struct
command
Example shows how to reflect over a struct type value that is stored inside an interface value.
|
Example shows how to reflect over a struct type value that is stored inside an interface value. |
|
Example shows how to reflect on a struct type with tags.
|
Example shows how to reflect on a struct type with tags. |
Click to show internal directories.
Click to hide internal directories.