style: please the linters
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package metrics
|
||||
|
||||
import "net/http"
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func newResponseWriter(w http.ResponseWriter) *responseWriter {
|
||||
return &responseWriter{w, http.StatusOK}
|
||||
|
||||
5
main.go
5
main.go
@@ -7,15 +7,16 @@ import (
|
||||
"fmt"
|
||||
"log"
|
||||
"net/http"
|
||||
"ocspcrl/internal/metrics"
|
||||
"os"
|
||||
"os/signal"
|
||||
"syscall"
|
||||
|
||||
"ocspcrl/internal/metrics"
|
||||
"ocspcrl/internal/ocsp_source"
|
||||
|
||||
"github.com/alecthomas/kingpin/v2"
|
||||
cfocsp "github.com/cloudflare/cfssl/ocsp"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"ocspcrl/internal/ocsp_source"
|
||||
)
|
||||
|
||||
type loadCrlFunction func() error
|
||||
|
||||
Reference in New Issue
Block a user