expfmt: add NegotiateFormats and NegotiateFormatsIncludingOpenMetrics #2194
Annotations
7 errors
|
lint
issues found
|
|
lint:
expfmt/encode_test.go#L411
formatter: use assert.Equalf (testifylint)
|
|
lint:
expfmt/encode_test.go#L409
formatter: use require.Lenf (testifylint)
|
|
lint:
expfmt/encode_test.go#L200
formatter: use assert.Equalf (testifylint)
|
|
lint:
expfmt/encode_test.go#L198
formatter: use require.Lenf (testifylint)
|
|
lint:
expfmt/encode.go#L110
ifElseChain: rewrite if-else to switch statement (gocritic)
|
|
lint:
expfmt/encode.go#L19
File is not properly formatted (gci)
|