summary refs log tree commit diff stats
path: root/svc
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2019-06-12 21:24:02 -0400
committerBen Morrison <ben@gbmor.dev>2019-06-12 21:24:02 -0400
commitfbfe7f582979c9db9089187b7316013bd0b1d423 (patch)
treecacbd836373239b0b3f5b8ce25fc642ce43179a6 /svc
parent979e1f93d563637bcca99bcc56a03199807b92d8 (diff)
downloadgetwtxt-fbfe7f582979c9db9089187b7316013bd0b1d423.tar.gz
removed unused func/var
Diffstat (limited to 'svc')
-rw-r--r--svc/init_test.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/svc/init_test.go b/svc/init_test.go
index bc77ddc..314d5f4 100644
--- a/svc/init_test.go
+++ b/svc/init_test.go
@@ -18,7 +18,6 @@ var (
 	testport     string
 	initTestOnce sync.Once
 	initDBOnce   sync.Once
-	initPersOnce sync.Once
 )
 
 func initTestConf() {
@@ -41,12 +40,6 @@ func initTestDB() {
 	})
 }
 
-func initTestPers() {
-	initPersOnce.Do(func() {
-		initPersistence()
-	})
-}
-
 func logToNull() {
 	hush, err := os.Open("/dev/null")
 	if err != nil {