Skip to content

Commit

Permalink
Update dependencies and bump version to 0.3.6
Browse files Browse the repository at this point in the history
Added missing import statements across various files to ensure consistency and proper functioning. Updated the Go version in go.mod to 1.23 to match the latest requirements.
  • Loading branch information
wneessen committed Oct 7, 2024
1 parent 5281810 commit 42a8944
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package api

import (
"github.com/jellydator/ttlcache/v2"

"github.com/wneessen/js-mailer/config"
)

Expand Down
1 change: 1 addition & 0 deletions api/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"fmt"

"github.com/jellydator/ttlcache/v2"

"github.com/wneessen/js-mailer/form"
)

Expand Down
1 change: 1 addition & 0 deletions api/sendform.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
1 change: 1 addition & 0 deletions api/sendform_mw.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down
1 change: 1 addition & 0 deletions api/token.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"time"

"github.com/labstack/echo/v4"

"github.com/wneessen/js-mailer/response"
)

Expand Down
1 change: 1 addition & 0 deletions form/form.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (

"github.com/cyphar/filepath-securejoin"
"github.com/kkyr/fig"

"github.com/wneessen/js-mailer/config"
)

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"time"

"github.com/jellydator/ttlcache/v2"

"github.com/wneessen/js-mailer/config"
"github.com/wneessen/js-mailer/server"
)
Expand Down
3 changes: 2 additions & 1 deletion server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 42a8944

Please sign in to comment.