diff --git a/api/api.go b/api/api.go index 41b2dc8..ba7cd07 100644 --- a/api/api.go +++ b/api/api.go @@ -2,6 +2,7 @@ package api import ( "github.com/jellydator/ttlcache/v2" + "github.com/wneessen/js-mailer/config" ) diff --git a/api/form.go b/api/form.go index b0c4232..a2497cf 100644 --- a/api/form.go +++ b/api/form.go @@ -5,6 +5,7 @@ import ( "fmt" "github.com/jellydator/ttlcache/v2" + "github.com/wneessen/js-mailer/form" ) diff --git a/api/sendform.go b/api/sendform.go index e19e328..bda05d2 100644 --- a/api/sendform.go +++ b/api/sendform.go @@ -7,6 +7,7 @@ import ( "github.com/labstack/echo/v4" "github.com/wneessen/go-mail" + "github.com/wneessen/js-mailer/form" "github.com/wneessen/js-mailer/response" ) diff --git a/api/sendform_mw.go b/api/sendform_mw.go index 74ee33c..c478c5f 100644 --- a/api/sendform_mw.go +++ b/api/sendform_mw.go @@ -13,6 +13,7 @@ import ( "github.com/jellydator/ttlcache/v2" "github.com/labstack/echo/v4" + "github.com/wneessen/js-mailer/form" "github.com/wneessen/js-mailer/response" ) diff --git a/api/token.go b/api/token.go index 4724915..794a712 100644 --- a/api/token.go +++ b/api/token.go @@ -8,6 +8,7 @@ import ( "time" "github.com/labstack/echo/v4" + "github.com/wneessen/js-mailer/response" ) diff --git a/form/form.go b/form/form.go index 4a11f4d..c84eb0c 100644 --- a/form/form.go +++ b/form/form.go @@ -6,6 +6,7 @@ import ( "github.com/cyphar/filepath-securejoin" "github.com/kkyr/fig" + "github.com/wneessen/js-mailer/config" ) diff --git a/go.mod b/go.mod index 47d2812..1f70d88 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/wneessen/js-mailer -go 1.21 +go 1.23 require ( github.com/cyphar/filepath-securejoin v0.3.3 diff --git a/main.go b/main.go index 589e184..eac9e38 100644 --- a/main.go +++ b/main.go @@ -6,6 +6,7 @@ import ( "time" "github.com/jellydator/ttlcache/v2" + "github.com/wneessen/js-mailer/config" "github.com/wneessen/js-mailer/server" ) diff --git a/server/server.go b/server/server.go index 2bc5eb2..0e77073 100644 --- a/server/server.go +++ b/server/server.go @@ -15,11 +15,12 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" "github.com/labstack/gommon/log" + "github.com/wneessen/js-mailer/config" ) // VERSION is the global version string contstant -const VERSION = "0.3.5" +const VERSION = "0.3.6" // Srv represents the server object type Srv struct {