Skip to content

fix: go get -u, go mod tidy #59

fix: go get -u, go mod tidy

fix: go get -u, go mod tidy #59

Triggered via push July 9, 2023 08:45
Status Failure
Total duration 3m 52s
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
Lint: yaml.go#L7
import 'github.com/go-orb/go-orb/codecs' is not allowed from list 'Main' (depguard)
Lint: json.go#L8
import 'github.com/go-orb/go-orb/codecs' is not allowed from list 'Main' (depguard)
Lint: proto.go#L8
import 'github.com/go-orb/go-orb/codecs' is not allowed from list 'Main' (depguard)
Lint: proto_test.go#L7
import 'github.com/go-orb/plugins/codecs/proto/testdata' is not allowed from list 'Main' (depguard)
Lint: form.go#L14
import 'github.com/go-playground/form/v4' is not allowed from list 'Main' (depguard)
Lint: form.go#L17
import 'github.com/go-orb/go-orb/codecs' is not allowed from list 'Main' (depguard)
Lint: form_test.go#L8
import 'github.com/go-orb/go-orb/codecs' is not allowed from list 'Main' (depguard)
Lint: form_test.go#L14
import 'github.com/stretchr/testify/assert' is not allowed from list 'Main' (depguard)
Lint: form_test.go#L16
import 'github.com/go-orb/plugins/codecs/form/testdata' is not allowed from list 'Main' (depguard)
Lint: form_test.go#L20
tag is not aligned, should be: form:"username" json:"username,omitempty" (tagalign)
Lint: tests/handler/hander.go#L23
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: tests/handler/hander.go#L20
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: tests/util/http/http.go#L118
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: tests/util/http/http.go#L140
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: tests/util/http/http.go#L163
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: tests/utils/http/http.go#L118
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: tests/utils/http/http.go#L140
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: tests/utils/http/http.go#L163
if-return: redundant if ...; err != nil check, just return error instead. (revive)
Lint: nats.go#L92
unused-parameter: parameter 'ctx' seems to be unused, consider removing or renaming it as _ (revive)
Lint: nats.go#L348
unused-parameter: parameter 'opts' seems to be unused, consider removing or renaming it as _ (revive)