Renamed Id to ID, following GoLang convention

This commit is contained in:
Deluan
2020-01-09 23:33:01 -05:00
committed by Deluan Quintão
parent 018352463f
commit 40904b220e
35 changed files with 122 additions and 122 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ func (r *checkSumRepository) loadData() {
func (r *checkSumRepository) Put(id, sum string) error {
if id == "" {
return errors.New("Id is required")
return errors.New("ID is required")
}
_, err := Db().HSet(checkSumKeyName, []byte(id), []byte(sum))
return err