Skip to content

fix: inline deprecated reflect.Ptr as reflect.Pointer#184

Open
iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:lint-fix-auto-fixes
Open

fix: inline deprecated reflect.Ptr as reflect.Pointer#184
iamlasse wants to merge 1 commit into
marcus:mainfrom
iamlasse:lint-fix-auto-fixes

Conversation

@iamlasse

@iamlasse iamlasse commented Jul 9, 2026

Copy link
Copy Markdown

Summary

Automated linter fix from `golangci-lint run --fix` (govet `inline` analyzer).

  • Replaces the deprecated `reflect.Ptr` constant with `reflect.Pointer` in `cmd/nightshift/commands/config.go` (2 occurrences).

Scope

Minimal, safe, auto-fix-only. No manual logic changes; the two constants are the same value (one is the deprecated alias), so behavior is identical.

Verification

  • `golangci-lint run` → 0 issues (was 2: govet `inline`)
  • `gofmt -l .` → clean
  • `go build ./...` → pass
  • `go test ./...` → all packages pass

Changed files

  • `cmd/nightshift/commands/config.go`

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

golangci-lint (govet inline analyzer) auto-fix. Replaces the
deprecated reflect.Ptr constant with reflect.Pointer; behaviorally
identical.

Nightshift-Task: lint-fix
Nightshift-Ref: https://github.com/marcus/nightshift
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