cnabio / cnab-go

A Go implementation of CNAB Core 1.0
MIT License
69 stars 37 forks source link

Rename Store.Store to Store.Save #174

Closed carolynvs closed 4 years ago

carolynvs commented 4 years ago

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