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

View file

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