When a type's function is named the same as the type, the type cannot be embedded and satisfy an interface. By renaming Store.Store to Store.Save, we can embed a crud.Store in other types and have it satisfy an interface without having to fallback to type aliases.
When a type's function is named the same as the type, the type cannot be embedded and satisfy an interface. By renaming Store.Store to Store.Save, we can embed a crud.Store in other types and have it satisfy an interface without having to fallback to type aliases.
Part of #172
Signed-off-by: Carolyn Van Slyck carolyn.vanslyck@microsoft.com