cleanup: go fmt

This commit is contained in:
Roy Lee 2021-07-22 23:19:07 -07:00
parent 7dff7f9dd8
commit ceb72948ec

View file

@ -38,8 +38,7 @@ type nodeCache struct {
}
func newNodeCache(size int) *nodeCache {
return &nodeCache{elements:
make(map[string]*list.Element, size),
return &nodeCache{elements: make(map[string]*list.Element, size),
data: list.New(),
maxElements: size,
}
@ -78,7 +77,6 @@ func (nc *nodeCache) Delete(key string) {
}
}
type BaseManager struct {
repo Repo