Skip to content

Commit 90609c4

Browse files
author
amyasnikov
committed
fmt
1 parent 6a81d8b commit 90609c4

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

srtm.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88

99
// SRTM is a struct contains all internal data
1010
type SRTM struct {
11-
cache *lru.Cache
12-
mtx sync.Mutex
11+
cache *lru.Cache
12+
mtx sync.Mutex
1313
tileDirectory string
1414
}
1515

@@ -34,8 +34,8 @@ func Init(lruCacheSize int, tileDir string) (*SRTM, error) {
3434
}
3535
log.Info().Caller().Int("LRU cache size", lruCacheSize).Str("tile dir", tileDir).Msg("")
3636
return &SRTM{
37-
cache: c,
38-
mtx: sync.Mutex{},
37+
cache: c,
38+
mtx: sync.Mutex{},
3939
tileDirectory: tileDir,
4040
}, nil
4141
}
@@ -45,4 +45,4 @@ func (d *SRTM) Destroy() {
4545
d.mtx.Lock()
4646
d.cache.Purge()
4747
d.mtx.Unlock()
48-
}
48+
}

0 commit comments

Comments
 (0)