client_golang/prometheus/promhttp
Soroosh Azary Marhabi 2cfd1eb960
Enable same linters as the Prometheus repo itself (#1056)
* Add gofumpt to github workflow & fix all files for it

Signed-off-by: sazary <soroosh@azary.ir>

* Add goimports to golangci & fix it's issues

Signed-off-by: sazary <soroosh@azary.ir>

* Add revive to golangci & fix it's issues

Signed-off-by: sazary <soroosh@azary.ir>

* Add errcheck & misspell to golangci and fix their issues

Signed-off-by: sazary <soroosh@azary.ir>

* Add govet & gosimple to golangci and fix their issues

Signed-off-by: sazary <soroosh@azary.ir>

* Enable all default linters of golangci

Signed-off-by: sazary <soroosh@azary.ir>
2022-06-17 09:04:06 +02:00
..
delegator.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00
http.go Added Transactional Gatherer allowed cached solutions (#989) 2022-02-23 11:22:52 +00:00
http_test.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00
instrument_client.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00
instrument_client_test.go Fix unit test failing with Go1.14+ 2020-04-23 15:14:34 +08:00
instrument_server.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00
instrument_server_test.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00
option.go promhttp: Check validity of method and code label values (#962) 2022-01-18 10:19:28 +01:00
option_test.go Enable same linters as the Prometheus repo itself (#1056) 2022-06-17 09:04:06 +02:00