mirror of
https://github.com/donl/gPanel.git
synced 2026-06-30 06:12:06 -06:00
removing types from global constants/variables with declarations in database package
This commit is contained in:
parent
097aba3439
commit
2ece3d08b8
1 changed files with 3 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue