1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-16 21:56:40 -05:00

follow the linter's commands

This commit is contained in:
Mohammed Al Sahaf 2023-12-14 23:38:08 +03:00
parent b825a10927
commit 52441e3037
No known key found for this signature in database
2 changed files with 0 additions and 6 deletions

View file

@ -23,7 +23,6 @@ import (
"net/http"
"strings"
"sync"
"time"
"golang.org/x/sync/singleflight"
@ -39,8 +38,6 @@ func init() {
caddy.RegisterType("http.authentication.providers", []interface{}{
(*Authenticator)(nil),
})
weakrand.Seed(time.Now().UnixNano())
}
// HTTPBasicAuth facilitates HTTP basic authentication.

View file

@ -29,7 +29,6 @@ import (
"runtime"
"strconv"
"strings"
"time"
"go.uber.org/zap"
@ -39,8 +38,6 @@ import (
)
func init() {
weakrand.Seed(time.Now().UnixNano())
caddy.RegisterType("http.precompressed", []interface{}{
(*encode.Precompressed)(nil),
})