Skip to content

Use tool directives in go.mod - #2576

Merged
helsaawy merged 2 commits into
microsoft:mainfrom
helsaawy:go-tool
Jan 14, 2026
Merged

Use tool directives in go.mod#2576
helsaawy merged 2 commits into
microsoft:mainfrom
helsaawy:go-tool

Conversation

@helsaawy

Copy link
Copy Markdown
Contributor

Remove tools/ package and instead mark tools directly in go.mod with tool directive (support added in go1.24).
This has the added benefit of making tools indirect dependencies.

See: https://go.dev/ref/mod#go-mod-file-tool

Remove `tools/` package and instead mark tools directly in `go.mod`
with `tool` directive (support added in go1.24).
This has the added benefit of making tools indirect dependencies.

See: https://go.dev/ref/mod#go-mod-file-tool

Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy
helsaawy requested a review from a team as a code owner December 17, 2025 18:08
Signed-off-by: Hamza El-Saawy <hamzaelsaawy@microsoft.com>
@helsaawy
helsaawy merged commit cbc0126 into microsoft:main Jan 14, 2026
17 checks passed
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.

3 participants