fix(deps): update module github.com/go-acme/lego/v4 to v5

This commit is contained in:
2026-05-16 00:07:36 +00:00
parent 7b91b93a87
commit 8179a2d9d7
12 changed files with 171 additions and 210 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ package certificates
import (
"crypto"
"github.com/go-acme/lego/v4/registration"
"github.com/go-acme/lego/v5/registration"
)
type AcmeAccount struct {
+2 -2
View File
@@ -5,8 +5,8 @@ import (
"sync"
"time"
"github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v4/providers/dns"
"github.com/go-acme/lego/v5/lego"
"github.com/go-acme/lego/v5/providers/dns"
"github.com/reugn/equalizer"
"github.com/rs/zerolog/log"
+3 -3
View File
@@ -9,9 +9,9 @@ import (
"os"
"codeberg.org/codeberg/pages/config"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v4/registration"
"github.com/go-acme/lego/v5/certcrypto"
"github.com/go-acme/lego/v5/lego"
"github.com/go-acme/lego/v5/registration"
"github.com/rs/zerolog/log"
)
+1 -1
View File
@@ -7,7 +7,7 @@ import (
"strings"
"time"
"github.com/go-acme/lego/v4/challenge"
"github.com/go-acme/lego/v5/challenge"
"github.com/rs/zerolog/log"
"codeberg.org/codeberg/pages/server/cache"
+4 -4
View File
@@ -10,10 +10,10 @@ import (
"strings"
"time"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge/tlsalpn01"
"github.com/go-acme/lego/v4/lego"
"github.com/go-acme/lego/v5/certcrypto"
"github.com/go-acme/lego/v5/certificate"
"github.com/go-acme/lego/v5/challenge/tlsalpn01"
"github.com/go-acme/lego/v5/lego"
"github.com/reugn/equalizer"
"github.com/rs/zerolog/log"
+2 -2
View File
@@ -11,8 +11,8 @@ import (
"math/big"
"time"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v5/certcrypto"
"github.com/go-acme/lego/v5/certificate"
"github.com/rs/zerolog/log"
"codeberg.org/codeberg/pages/server/database"
+2 -2
View File
@@ -3,8 +3,8 @@ package database
import (
"fmt"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v5/certcrypto"
"github.com/go-acme/lego/v5/certificate"
"github.com/rs/zerolog/log"
)
+1 -1
View File
@@ -3,7 +3,7 @@
package database
import (
certificate "github.com/go-acme/lego/v4/certificate"
certificate "github.com/go-acme/lego/v5/certificate"
mock "github.com/stretchr/testify/mock"
)
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/rs/zerolog/log"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v5/certificate"
"xorm.io/xorm"
// register sql driver
+1 -1
View File
@@ -4,7 +4,7 @@ import (
"errors"
"testing"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v5/certificate"
"github.com/stretchr/testify/assert"
"xorm.io/xorm"
)