Skip to content

Comments

go.mod, tools: use Go 1.24 tool dependencies#645

Merged
tklauser merged 1 commit intomainfrom
pr/tklauser/bpf2go-go-mod-tool
Jan 30, 2026
Merged

go.mod, tools: use Go 1.24 tool dependencies#645
tklauser merged 1 commit intomainfrom
pr/tklauser/bpf2go-go-mod-tool

Conversation

@tklauser
Copy link
Member

Use the tool go.mod directive introduced in Go 1.24 1 to specify the ebpf2go tool that is needed during build. This allows to drop the tools/tools.go which was used so far to pull in this dependency.

Footnotes

  1. https://go.dev/doc/modules/managing-dependencies#tools

Use the tool go.mod directive introduced in Go 1.24 [^1] to specify
the ebpf2go tool that is needed during build. This allows to drop the
tools/tools.go which was used so far to pull in this dependency.

[^1]: https://go.dev/doc/modules/managing-dependencies#tools

Signed-off-by: Tobias Klauser <[email protected]>
@tklauser tklauser requested a review from a team as a code owner January 23, 2026 12:24
@tklauser tklauser requested review from brb and removed request for a team January 23, 2026 12:24
@tklauser tklauser enabled auto-merge (rebase) January 28, 2026 09:38
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@tklauser tklauser merged commit c8eb844 into main Jan 30, 2026
10 checks passed
@tklauser tklauser deleted the pr/tklauser/bpf2go-go-mod-tool branch January 30, 2026 13:54
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.

2 participants