Implement mailer and add welcome email for POP account
This commit is contained in:
parent
a6b926c9bf
commit
b582b10360
10 changed files with 170 additions and 3 deletions
4
main.go
4
main.go
|
|
@ -26,12 +26,16 @@ var embedStatic embed.FS
|
|||
//go:embed views
|
||||
var embedViews embed.FS
|
||||
|
||||
//go:embed mails
|
||||
var embedMails embed.FS
|
||||
|
||||
func main() {
|
||||
log := helpers.GetLogger()
|
||||
|
||||
// Add embedded filesystems to shared state
|
||||
helpers.AddEmbeddedFS("static", &embedStatic)
|
||||
helpers.AddEmbeddedFS("views", &embedViews)
|
||||
helpers.AddEmbeddedFS("mails", &embedMails)
|
||||
|
||||
// Fetch app config
|
||||
config, err := helpers.GetConfig()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue