server: cleanup inmem repository map initialize
Maps are better initialized with the stdlib make function.
@@ -31,7 +31,7 @@ type repositoryInMemory struct {
// NewRepositoryInMemory is an in memory ach storage repository for files
func NewRepositoryInMemory() Repository {
- f := map[string]*ach.File{}
+ f := make(map[string]*ach.File, 0)
return &repositoryInMemory{
files: f,
}
