Run gofumpt

This commit is contained in:
Moritz Marquardt 2024-04-18 19:08:47 +02:00
parent f6ed4285bc
commit 42a4502206
2 changed files with 5 additions and 3 deletions

View File

@ -6,11 +6,12 @@ import (
"crypto/x509"
"errors"
"fmt"
"github.com/hashicorp/golang-lru/v2"
"strconv"
"strings"
"time"
"github.com/hashicorp/golang-lru/v2"
"github.com/go-acme/lego/v4/certcrypto"
"github.com/go-acme/lego/v4/certificate"
"github.com/go-acme/lego/v4/challenge/tlsalpn01"
@ -34,7 +35,7 @@ func TLSConfig(mainDomainSuffix string,
giteaClient *gitea.Client,
acmeClient *AcmeClient,
firstDefaultBranch string,
challengeCache cache.ICache, canonicalDomainCache cache.ICache,
challengeCache, canonicalDomainCache cache.ICache,
certDB database.CertDB,
noDNS01 bool,
rawDomain string,

View File

@ -1,10 +1,11 @@
package dns
import (
"github.com/hashicorp/golang-lru/v2"
"net"
"strings"
"time"
"github.com/hashicorp/golang-lru/v2"
)
type lookupCacheEntry struct {