removing types from global constants/variables with declarations in database package

This commit is contained in:
George Shaw 2017-10-26 14:58:06 -05:00
parent 097aba3439
commit 2ece3d08b8

View file

@ -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 {