Skip to content

fix(all): various errors, after the rename and merge #55

fix(all): various errors, after the rename and merge

fix(all): various errors, after the rename and merge #55

Triggered via push July 9, 2023 06:33
Status Failure
Total duration 2m 6s
Artifacts

main.yaml

on: push
Fit to window
Zoom out
Zoom in

Annotations

21 errors and 1 warning
Summary
no required module provides package github.com/go-orb/plugins/codecs/form; to add it:
Summary
no required module provides package github.com/go-orb/plugins/codecs/json; to add it:
Summary
undefined: slog.DebugLevel
Summary
undefined: slog.DebugLevel
Summary
undefined: slog.InfoLevel
Summary
undefined: slog.WarnLevel
Summary
undefined: slog.ErrorLevel
Summary
cannot use (*LevelHandler)(nil) (value of type *LevelHandler) as type slog.Handler in variable declaration:
Summary
slog.Default().LogDepth undefined (type *slog.Logger has no field or method LogDepth)
Summary
slog.Default().LogDepth undefined (type *slog.Logger has no field or method LogDepth)
Unit Tests
Process completed with exit code 1.
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: util.go#L122
superfluous-else: if block ends with a break statement, so drop this else and outdent its block (revive)