Change semantics of ChecksumRepository
This commit is contained in:
+5
-3
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user