prometheus/util
Łukasz Mierzwa a4317bf0ec
Run gofumpt on all files (#10392)
* Run gofumpt on all files

Getting golangci-lint errors when building on my laptop, possibly because I have newer version of gofumpt then what it was formatted with.
Run gofumpt -w -extra on all files as it will be needed in the future anyway.

* Update golangci-lint to v1.44.2

v1.44.0 upgraded gofumpt so bumping version in CI will help keep formatting correct for everyone

* Address golangci-lint error

Getting 'error-strings: error strings should not be capitalized or end with punctuation or a newline' from revive here.
Drop new line.

Signed-off-by: Łukasz Mierzwa <l.mierzwa@gmail.com>
2022-03-03 17:21:05 +01:00
..
gate Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
httputil Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
logging Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
modtimevfs Revert "Replace vfsgen with embed for static web assets (#9719)" (#9870) 2021-11-26 10:11:26 +01:00
osutil Format Go source files using 'gofumpt -w -s -extra' 2021-11-02 19:52:34 +01:00
pool Move packages out of deprecated pkg directory 2021-11-09 08:03:10 +01:00
runtime Run gofumpt on all files (#10392) 2022-03-03 17:21:05 +01:00
stats Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
strutil Switch to grafana/regexp everywhere (#10268) 2022-02-13 00:58:27 +01:00
teststorage Disable time based retention in tests (#8818) 2022-01-02 23:46:03 +01:00
testutil util/testutil: add RandomUnprivilegedPort function 2021-11-10 09:40:43 +01:00
treecache Switched to go-kit/log 2021-06-11 12:28:36 -04:00