Add .env file support

This commit is contained in:
2024-09-01 20:23:31 -04:00
parent 14b3863f8e
commit 56ce9fa2f8
5 changed files with 39 additions and 8 deletions

View File

@@ -2,15 +2,10 @@ package models
import (
"fmt"
"os"
"github.com/go-mail/mail/v2"
)
var (
defaultSender = os.Getenv("LENSLOCKED_EMAIL_FROM")
)
type Email struct {
To string
Subject string