Directories
¶
| Path | Synopsis |
|---|---|
|
assertions
|
|
|
example1
command
Sample program demonstrating when implicit interface conversions are provided by the compiler.
|
Sample program demonstrating when implicit interface conversions are provided by the compiler. |
|
example2
command
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. |
|
decoupling
|
|
|
example1
command
Sample program demonstrating struct composition.
|
Sample program demonstrating struct composition. |
|
example2
command
Sample program demonstrating decoupling with interfaces.
|
Sample program demonstrating decoupling with interfaces. |
|
example3
command
Sample program demonstrating interface composition.
|
Sample program demonstrating interface composition. |
|
example4
command
Sample program demonstrating decoupling with interface composition.
|
Sample program demonstrating decoupling with interface composition. |
|
exercises
|
|
|
exercise1
command
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. |
|
grouping
|
|
|
example1
command
This is an example of using type hierarchies with a OOP pattern.
|
This is an example of using type hierarchies with a OOP pattern. |
|
example2
command
This is an example of using composition and interfaces.
|
This is an example of using composition and interfaces. |
|
mocking
|
|
|
example1
command
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. |
|
example1/pubsub
Package pubsub simulates a package that provides publication/subscription type services.
|
Package pubsub simulates a package that provides publication/subscription type services. |
Click to show internal directories.
Click to hide internal directories.