Skip to content

Conversation

@atombrella
Copy link

Related Issue

Fixes #

Description

Simplify buildEnv: use maps.Copy instead of populating/copying with a for-range lop.

https://pkg.go.dev/golang.org/x/tools/gopls/internal/analysis/modernize
It's the mapsloop pattern.

Rollback Plan

  • If a change needs to be reverted, we will roll out an update to the code within 7 days.

Changes to Security Controls

Are there any changes to security controls (access controls, encryption, logging) in this pull request? If so, explain.

@atombrella atombrella requested review from a team as code owners November 13, 2025 20:12
@atombrella atombrella changed the title Simplify buildEnv: use maps.Copy Simplify buildEnv: use maps.Copy for populating the map. Nov 13, 2025
@atombrella atombrella changed the title Simplify buildEnv: use maps.Copy for populating the map. Simplify buildEnv: use maps.Copy for populating the map. Nov 13, 2025
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