Documentation ¶
Overview ¶
Copy the code from the template. Declare a new type called hockey which embeds the sports type. Implement the finder interface for hockey. When implementing the find method for hockey, call into the find method for the embedded sport type to check the embedded fields first. Then create two hockey values inside the slice of finders and perform the search.
Click to show internal directories.
Click to hide internal directories.