summaryrefslogtreecommitdiff
path: root/system/db/init.go
diff options
context:
space:
mode:
authorSteve Manuel <nilslice@gmail.com>2016-10-28 17:09:49 -0700
committerSteve Manuel <nilslice@gmail.com>2016-10-28 17:09:49 -0700
commit58b67b59829235978994b705fe005fc7c9e0e661 (patch)
treef269cdd4a40d0369b6cc57bc1af75eda94cc8136 /system/db/init.go
parentc716fb39d8ae2e3d3d767c1419997d2a529329a7 (diff)
debugging
Diffstat (limited to 'system/db/init.go')
-rw-r--r--system/db/init.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/db/init.go b/system/db/init.go
index 423c265..0c3c887 100644
--- a/system/db/init.go
+++ b/system/db/init.go
@@ -81,11 +81,11 @@ func Init() {
log.Fatalln("Coudn't initialize db with buckets.", err)
}
- go func() {
- for t := range content.Types {
+ go func(types map[string]func() interface{}) {
+ for t := range types {
SortContent(t)
}
- }()
+ }(content.Types)
}