Add pre-commit to the repo
This adds pre-commit which can be used to enforce consistent style and common errors (like committing large files)
This commit is contained in:
+3
-3
@@ -2,10 +2,10 @@ package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
// "github.com/prometheus/client_golang/prometheus/promauto"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
"net/http"
|
||||
|
||||
"github.com/prometheus/client_golang/prometheus"
|
||||
"github.com/prometheus/client_golang/prometheus/promhttp"
|
||||
)
|
||||
|
||||
// TODO: Not sure if this is the best way to handle. A global instance for
|
||||
|
||||
Reference in New Issue
Block a user