mirror of
https://github.com/EchoVault/SugarDB.git
synced 2025-11-01 20:02:46 +08:00
Removed duplicate imports for set, sorted_set, pubsub and acl modules. Moved /modules from /pkg to /internal. Delted commands package: Commands will now be automatically loaded when an EchoVault instance is initialised.
This commit is contained in:
@@ -18,7 +18,6 @@ import (
|
||||
"context"
|
||||
"github.com/echovault/echovault/internal"
|
||||
"github.com/echovault/echovault/internal/config"
|
||||
"github.com/echovault/echovault/pkg/commands"
|
||||
"github.com/echovault/echovault/pkg/echovault"
|
||||
"log"
|
||||
"os"
|
||||
@@ -49,7 +48,6 @@ func main() {
|
||||
server, err := echovault.NewEchoVault(
|
||||
echovault.WithContext(ctx),
|
||||
echovault.WithConfig(conf),
|
||||
echovault.WithCommands(commands.All()),
|
||||
)
|
||||
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user