Change semantics of ChecksumRepository

This commit is contained in:
Deluan
2020-01-15 08:54:00 -05:00
parent c404252b7f
commit 16c550a9d1
6 changed files with 37 additions and 37 deletions
+5 -3
View File
@@ -1,6 +1,8 @@
package model
type CheckSumRepository interface {
Get(id string) (string, error)
SetData(newSums map[string]string) error
type ChecksumMap map[string]string
type ChecksumRepository interface {
GetData() (ChecksumMap, error)
SetData(newSums ChecksumMap) error
}