diff --git a/server/certificates/certificates.go b/server/certificates/certificates.go index 0ac5152..0b28969 100644 --- a/server/certificates/certificates.go +++ b/server/certificates/certificates.go @@ -10,7 +10,7 @@ import ( "strings" "time" - "github.com/hashicorp/golang-lru/v2" + lru "github.com/hashicorp/golang-lru/v2" "github.com/go-acme/lego/v4/certcrypto" "github.com/go-acme/lego/v4/certificate" diff --git a/server/dns/dns.go b/server/dns/dns.go index 60b2147..f05f73e 100644 --- a/server/dns/dns.go +++ b/server/dns/dns.go @@ -5,7 +5,7 @@ import ( "strings" "time" - "github.com/hashicorp/golang-lru/v2" + lru "github.com/hashicorp/golang-lru/v2" ) type lookupCacheEntry struct { diff --git a/server/gitea/cache.go b/server/gitea/cache.go index 15504b7..1471b50 100644 --- a/server/gitea/cache.go +++ b/server/gitea/cache.go @@ -89,7 +89,6 @@ func (f FileResponse) createHttpResponse(cacheKey string) (header http.Header, s type BranchTimestamp struct { Branch string Timestamp time.Time - notFound bool } type writeCacheReader struct {