feat(fields): read/set all the fields from the given struct #149
Annotations
16 errors and 8 warnings
lint (1.21):
internal/reflect/get_set.go#L216
internal/reflect/get_set.go:216: Line contains TODO/BUG/FIXME: "TODO use ReducedValueOf" (godox)
|
lint (1.21):
fields/iterate.go#L121
fields/iterate.go:121: Line contains TODO/BUG/FIXME: "TODO add tests with setting nested field..." (godox)
|
lint (1.21):
internal/reflect/iterate.go#L195
line is 121 characters (lll)
|
lint (1.21):
internal/reflect/iterate.go#L156
`if result.set` has complex nested blocks (complexity: 5) (nestif)
|
lint (1.21):
internal/reflect/iterate.go#L152
calculated cyclomatic complexity for function iteratePtrStruct is 11, max is 10 (cyclop)
|
lint (1.21):
fields/iterate_test.go#L96
calculated cyclomatic complexity for function TestIterate is 21, max is 10 (cyclop)
|
lint (1.21):
internal/reflect/get_set.go#L115
directive `//nolint:cyclop` is unused for linter "cyclop" (nolintlint)
|
lint (1.21)
issues found
|
lint (1.22):
internal/reflect/get_set.go#L216
internal/reflect/get_set.go:216: Line contains TODO/BUG/FIXME: "TODO use ReducedValueOf" (godox)
|
lint (1.22):
fields/iterate.go#L121
fields/iterate.go:121: Line contains TODO/BUG/FIXME: "TODO add tests with setting nested field..." (godox)
|
lint (1.22):
internal/reflect/iterate.go#L195
line is 121 characters (lll)
|
lint (1.22):
internal/reflect/iterate.go#L156
`if result.set` has complex nested blocks (complexity: 5) (nestif)
|
lint (1.22):
internal/reflect/iterate.go#L152
calculated cyclomatic complexity for function iteratePtrStruct is 11, max is 10 (cyclop)
|
lint (1.22):
fields/iterate_test.go#L96
calculated cyclomatic complexity for function TestIterate is 21, max is 10 (cyclop)
|
lint (1.22):
internal/reflect/get_set.go#L115
directive `//nolint:cyclop` is unused for linter "cyclop" (nolintlint)
|
lint (1.22)
issues found
|
lint (1.21)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint (1.21):
internal/reflect/common.go#L27
unexported-return: exported func ReducedValue returns unexported type reflect.kindChain, which can be annoying to use (revive)
|
lint (1.21):
internal/reflect/common.go#L65
unexported-return: exported func ReducedValueOf returns unexported type reflect.kindChain, which can be annoying to use (revive)
|
lint (1.21):
internal/reflect/iterate.go#L136
unused-parameter: parameter 'convert' seems to be unused, consider removing or renaming it as _ (revive)
|
lint (1.22)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
lint (1.22):
internal/reflect/common.go#L27
unexported-return: exported func ReducedValue returns unexported type reflect.kindChain, which can be annoying to use (revive)
|
lint (1.22):
internal/reflect/common.go#L65
unexported-return: exported func ReducedValueOf returns unexported type reflect.kindChain, which can be annoying to use (revive)
|
lint (1.22):
internal/reflect/iterate.go#L136
unused-parameter: parameter 'convert' seems to be unused, consider removing or renaming it as _ (revive)
|