Skip to content

Conversation

@marcell-vida
Copy link

@marcell-vida marcell-vida commented Aug 15, 2025

Issue

Since #152 added support for consistent GOBIN usage, a manual asdf reshim golang command was required after installing Go packages using go install or go get.

A related issue: #131

Changes

This PR adds an automatic reshimming feature similar to implementations in asdf-python and asdf-nodejs. The go command is wrapped to automatically call asdf reshim golang after go install and legacy go get commands, eliminating the need for manual reshimming.

Additional features:

  • Option to skip reshimming with ASDF_GOLANG_SKIP_RESHIM=1 environment variable
  • Custom Go path configuration via ASDF_GOLANG_CANON_GO_PATH environment variable

Note: I’ll be away next week. Thanks to @ofalvai for reviewing this PR; he will handle all follow‑ups, with @pgyula as a backup.

@marcell-vida marcell-vida requested a review from a team as a code owner August 15, 2025 11:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant