Fix lint and format code in client/cache dir

This commit is contained in:
loyalsoldier
2021-06-06 20:38:02 +08:00
parent ca328208cc
commit a87f8ec82a
9 changed files with 23 additions and 28 deletions

View File

@@ -124,7 +124,6 @@ func (rc *Cache) IsExist(ctx context.Context, key string) (bool, error) {
return true, nil
}
return false, nil
}
// ClearAll clears all cached items in ssdb.

View File

@@ -15,7 +15,6 @@ import (
)
func TestSsdbcacheCache(t *testing.T) {
ssdbAddr := os.Getenv("SSDB_ADDR")
if ssdbAddr == "" {
ssdbAddr = "127.0.0.1:8888"