Moved all packages from /pkg directory to the root directory. Deleted /pkg directory. Pass keyspace functions to raft package instead of an EchoVault instance. This removes dependency on the echovault pakage from the raft package.

This commit is contained in:
Kelvin Clement Mwinuka
2024-04-28 00:37:45 +08:00
parent b6825c4eb4
commit 97f4617d86
56 changed files with 73 additions and 70 deletions

View File

@@ -17,8 +17,8 @@ package admin
import (
"errors"
"fmt"
"github.com/echovault/echovault/constants"
"github.com/echovault/echovault/internal"
"github.com/echovault/echovault/pkg/constants"
"github.com/gobwas/glob"
"slices"
"strings"