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

View file

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