Skip to content

Update inx-app to 5c85b6d16701 #11

Update inx-app to 5c85b6d16701

Update inx-app to 5c85b6d16701 #11

GitHub Actions / golangci failed Apr 25, 2024 in 0s

reviewdog [golangci] report

reported by reviewdog 🐶

Findings (1)

components/faucet/frontend.go|35 col 10| SA1019: echo.MIMEApplicationJSONCharsetUTF8 is deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. No "charset" parameter is defined for this registration. Adding one really has no effect on compliant recipients. See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1 (staticcheck)

Filtered Findings (0)

Annotations

Check failure on line 35 in components/faucet/frontend.go

See this annotation in the file changed.

@github-actions github-actions / golangci

[golangci] components/faucet/frontend.go#L35

SA1019: echo.MIMEApplicationJSONCharsetUTF8 is deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. No "charset" parameter is defined for this registration. Adding one really has no effect on compliant recipients. See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1 (staticcheck)
Raw output
components/faucet/frontend.go:35:10: SA1019: echo.MIMEApplicationJSONCharsetUTF8 is deprecated: Please use MIMEApplicationJSON instead. JSON should be encoded using UTF-8 by default. No "charset" parameter is defined for this registration. Adding one really has no effect on compliant recipients. See RFC 8259, section 8.1. https://datatracker.ietf.org/doc/html/rfc8259#section-8.1 (staticcheck)
		return echo.MIMEApplicationJSONCharsetUTF8
		       ^