Mercurial > gemma
diff pkg/octree/cache.go @ 727:41c8dc61f38f
Moved octree loading stuff to octree package.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sat, 22 Sep 2018 21:57:30 +0200 |
parents | e0437ec46798 |
children | a244b18cb916 |
line wrap: on
line diff
--- a/pkg/octree/cache.go Sat Sep 22 21:34:12 2018 +0200 +++ b/pkg/octree/cache.go Sat Sep 22 21:57:30 2018 +0200 @@ -15,7 +15,7 @@ cacheEntry struct { checksum string - tree *Octree + tree *Tree access time.Time } OctreeCache struct { @@ -77,7 +77,7 @@ func (oc *OctreeCache) Get( bottleneck string, date time.Time, conn *sql.Conn, ctx context.Context, -) (*Octree, error) { +) (*Tree, error) { oc.Lock() defer oc.Unlock()