Directories ¶
Path | Synopsis |
---|---|
Sample program to show how what we are doing is NOT embedding a type but just using a type as a field.
|
Sample program to show how what we are doing is NOT embedding a type but just using a type as a field. |
Sample program to show how to embed a type into another type and the relationship between the inner and outer type.
|
Sample program to show how to embed a type into another type and the relationship between the inner and outer type. |
Sample program to show how embedded types work with interfaces.
|
Sample program to show how embedded types work with interfaces. |
Sample program to show what happens when the outer and inner type implement the same interface.
|
Sample program to show what happens when the outer and inner type implement the same interface. |
exercises
|
|
exercise1
Copy the code from the template.
|
Copy the code from the template. |
template1
Copy the code from the template.
|
Copy the code from the template. |
Click to show internal directories.
Click to hide internal directories.