This is the main dovel repository, it has the Go code to run dovel SMTP server.
Author: brian (git@myr.sh)
Date: Sun Oct 8 18:35:34 2023 -0300
Parent: 54cd2b2
Fixed imports
diff --git a/main.go b/main.go index d8da75b..7490266 100644 --- a/main.go +++ b/main.go @@ -9,14 +9,13 @@ import ( "time" "git.derelict.garden/bryon/vault" - "dovel.email/server" "github.com/emersion/go-smtp" ) var ( - cfg = server.Config{} + cfg = Config{} configPath string - v vault.Vault[server.User] + v vault.Vault[User] ) func main() { @@ -45,7 +44,7 @@ func main() { if cfg.VaultFile != "" { slog.Debug("creating vault", "path", cfg.VaultFile) - v, err = vault.NewJSONPlainTextVault[server.User](cfg.VaultFile) + v, err = vault.NewJSONPlainTextVault[User](cfg.VaultFile) if err != nil { panic(err) }