Skip to content

Fix reflect pointer lint findings#192

Draft
gregggreg wants to merge 1 commit into
marcus:mainfrom
gregggreg:nightshift/lint-fix
Draft

Fix reflect pointer lint findings#192
gregggreg wants to merge 1 commit into
marcus:mainfrom
gregggreg:nightshift/lint-fix

Conversation

@gregggreg

Copy link
Copy Markdown

Summary

  • replace the deprecated reflect.Ptr alias with reflect.Pointer in config rendering and zero-value checks
  • resolve the two govet inline diagnostics reported by golangci-lint v2.12.2

Impact

No behavior changes. Both constants identify the same reflection kind; this updates the code to the canonical constant expected by the current analyzer.

Validation

  • gofmt -l (no output)
  • golangci-lint v2.12.2 run (0 issues)
  • go vet ./...
  • go test ./...
  • go build ./...
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant