Rename execution.Storage to Storer to follow Go convention
Interfaces should be named like someone actively doing a thing. Thus, instead of Storage we use Storer.
This commit is contained in:
@@ -12,7 +12,7 @@ type localStorage struct {
|
||||
executions map[ID]*dto.ExecutionRequest
|
||||
}
|
||||
|
||||
// NewLocalStorage responds with an Storage implementation.
|
||||
// NewLocalStorage responds with an Storer implementation.
|
||||
// This implementation stores the data thread-safe in the local application memory.
|
||||
func NewLocalStorage() *localStorage {
|
||||
return &localStorage{
|
||||
|
Reference in New Issue
Block a user