From 2ece3d08b889b6bffacb2394aceea29072a8f75f Mon Sep 17 00:00:00 2001 From: George Shaw Date: Thu, 26 Oct 2017 14:58:06 -0500 Subject: [PATCH] removing types from global constants/variables with declarations in database package --- pkg/database/database.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/database/database.go b/pkg/database/database.go index 330381b..0a81b15 100644 --- a/pkg/database/database.go +++ b/pkg/database/database.go @@ -11,17 +11,17 @@ import ( // Database constants const ( - DBLOC_MAIN string = "datastore.db" + DBLOC_MAIN = "datastore.db" ) // Bucket constants const ( - BUCKET_USERS string = "users" + BUCKET_USERS = "users" ) // Error codes var ( - ErrKeyNotExist error = errors.New("key does not exist") + ErrKeyNotExist = errors.New("key does not exist") ) type Datastore struct {