Fixing some lint warnings

This commit is contained in:
Deluan
2016-03-26 22:43:13 -04:00
parent 9099e24413
commit 83e0a7b24c
4 changed files with 11 additions and 11 deletions
+1 -1
View File
@@ -331,7 +331,7 @@ func (r *ledisRepository) loadFromSet(setName string, entities interface{}, qo .
}
reflected := reflect.ValueOf(entities).Elem()
var sortKey []byte = nil
var sortKey []byte
if o.SortBy != "" {
sortKey = []byte(fmt.Sprintf("%s:*:%s", r.table, o.SortBy))
}