update micro in go mod and go fmt all the things

This commit is contained in:
Asim Aslam
2021-08-27 09:55:06 +01:00
parent eec2110f88
commit 84b9a63461
11 changed files with 41 additions and 25 deletions

3
pkg/cache/cache.go vendored
View File

@@ -9,8 +9,8 @@ import (
"sync"
"time"
"github.com/micro/micro/v3/service/logger"
"github.com/hashicorp/golang-lru"
"github.com/micro/micro/v3/service/logger"
"github.com/micro/micro/v3/service/store"
"github.com/micro/services/pkg/tenant"
)
@@ -112,7 +112,6 @@ func (c *cache) Get(key string, val interface{}) error {
return err
}
// put it in the cache for future use
// set in the lru
rec := recs[0]