Skip to content

fix(lint): inline deprecated reflect.Ptr constant - #251

Open
iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:chore/lint-fix-reflect-ptr-20260924
Open

iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:chore/lint-fix-reflect-ptr-20260924

Conversation

@iamlasse

@iamlasse iamlasse commented Sep 24, 2026 •

Copy link
Copy Markdown

Summary

  • Replace the deprecated reflect.Ptr constant with reflect.Pointer at the two govet inline findings in cmd/nightshift/commands/config.go (printStruct case and isZero case)
  • reflect.Pointer is the identical, non-deprecated alias — zero behavioral change
  • make lint (golangci-lint) now reports 0 issues; gofmt, go build ./..., and go test ./... all pass

Test plan

  • make lint → 0 issues
  • go build ./... → OK
  • go test ./... → all packages pass

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift


Automated by nightshift

This branch has not been deployed

No deployments
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