🧪 enable no auth

This commit is contained in:
Fenny
2020-11-27 15:21:43 +01:00
parent 4e9dcd8d12
commit 2fc023c798
4 changed files with 13 additions and 16 deletions

View File

@@ -34,9 +34,9 @@ type model struct {
}
// New creates a new storage
func New(config Config) *Storage {
func New(config ...Config) *Storage {
// Set default config
cfg := configDefault(config)
cfg := configDefault(config...)
// create connection object to arango
conn, err := http.NewConnection(http.ConnectionConfig{