summary refs log tree commit diff stats
path: root/svc
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-11 05:33:14 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-11 05:33:14 -0400
commit1349bbc6e6627f357065602e085be762aab06383 (patch)
treecbcc0103606674cdd9826c970ed113e6d7b29341 /svc
parent4ff0f5038aeca70ad76296ad3c9f054f4cfb5877 (diff)
downloadgetwtxt-1349bbc6e6627f357065602e085be762aab06383.tar.gz
push() changes v0.3.3
Diffstat (limited to 'svc')
-rw-r--r--svc/leveldb.go3
1 files changed, 0 insertions, 3 deletions
diff --git a/svc/leveldb.go b/svc/leveldb.go
index 36b7946..655979a 100644
--- a/svc/leveldb.go
+++ b/svc/leveldb.go
@@ -14,7 +14,6 @@ type dbLevel struct {
 }
 
 func (lvl *dbLevel) push() error {
-
 	twtxtCache.Mu.RLock()
 	var dbBasket = &leveldb.Batch{}
 	for k, v := range twtxtCache.Users {
@@ -42,13 +41,11 @@ func (lvl *dbLevel) push() error {
 }
 
 func (lvl *dbLevel) pull() {
-
 	iter := lvl.db.NewIterator(nil, nil)
 
 	for iter.Next() {
 		key := string(iter.Key())
 		val := string(iter.Value())
-
 		split := strings.Split(key, "*")
 		urls := split[0]
 		field := split[1]