Skip to content

feat(bux-246): Added linters #3

feat(bux-246): Added linters

feat(bux-246): Added linters #3

Triggered via pull request March 12, 2024 12:25
Status Failure
Total duration 1m 39s
Artifacts

code-style-linter.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: config/load_test.go#L35
Error return value of `os.Setenv` is not checked (errcheck)
lint: config/load_test.go#L43
Error return value of `os.Unsetenv` is not checked (errcheck)
lint: config/config.go#L156
tag is not aligned, should be: json:"deployment_id" mapstructure:"deployment_id" (tagalign)
lint: config/config.go#L157
tag is not aligned, should be: json:"callback" mapstructure:"callback" (tagalign)
lint: config/config.go#L158
tag is not aligned, should be: json:"protocol" mapstructure:"protocol" (tagalign)
lint: config/config.go#L159
tag is not aligned, should be: json:"apis" mapstructure:"apis" (tagalign)
lint: config/config.go#L161
tag is not aligned, should be: json:"fee_unit" mapstructure:"fee_unit" (tagalign)
lint: config/config.go#L167
tag is not aligned, should be: json:"bytes" mapstructure:"bytes" (tagalign)
lint: config/config.go#L172
tag is not aligned, should be: json:"token" mapstructure:"token" (tagalign)
lint: config/config.go#L173
tag is not aligned, should be: json:"arc_url" mapstructure:"arc_url" (tagalign)