follow golint suggestions

This commit is contained in:
chrislusf
2015-03-10 00:20:31 -07:00
parent b4cb8bfd27
commit b07d81fb08
26 changed files with 570 additions and 101 deletions

View File

@@ -41,8 +41,8 @@ func (s *RedisStore) Delete(fullFileName string) (fid string, err error) {
return "", err
}
func (c *RedisStore) Close() {
if c.Client != nil {
c.Client.Close()
func (s *RedisStore) Close() {
if s.Client != nil {
s.Client.Close()
}
}