Directories ¶
Path | Synopsis |
---|---|
Sample program demonstrating struct composition.
|
Sample program demonstrating struct composition. |
Sample program demonstrating decoupling with interfaces.
|
Sample program demonstrating decoupling with interfaces. |
Sample program demonstrating interface composition.
|
Sample program demonstrating interface composition. |
Sample program demonstrating decoupling with interface composition.
|
Sample program demonstrating decoupling with interface composition. |
Sample program demonstrating when implicit interface conversions are provided by the compiler.
|
Sample program demonstrating when implicit interface conversions are provided by the compiler. |
Sample program demonstrating that type assertions are a runtime and not compile time construct.
|
Sample program demonstrating that type assertions are a runtime and not compile time construct. |
Sample program to show how you can personally mock concrete types when you need to for your own packages or tests.
|
Sample program to show how you can personally mock concrete types when you need to for your own packages or tests. |
pubsub
Package pubsub simulates a package that provides publication/subscription type services.
|
Package pubsub simulates a package that provides publication/subscription type services. |
exercises
|
|
exercise1
Using the template, declare a set of concrete types that implement the set of predefined interface types.
|
Using the template, declare a set of concrete types that implement the set of predefined interface types. |
Click to show internal directories.
Click to hide internal directories.