Update docs to use go 1.24 tool dependencies instead of internal/tools.go pattern#3741
Merged
Merged
Conversation
b6ec3b3 to
ec7cac4
Compare
Collaborator
|
Thanks! I marked it as draft just to mark it as "don't merge" until Go 1.25 is released, if that's ok? |
Contributor
Author
Absolutely, no problem! 😄 |
Collaborator
|
@deitrix Do you mind freshening this up a bit? |
ec7cac4 to
cd4bdae
Compare
cd4bdae to
d3e98e6
Compare
Contributor
Author
|
@StevenACoffman I've rebased the branch and given it a once over. All still looks good to me! |
StevenACoffman
approved these changes
Nov 18, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #3740
This PR aims to update the gqlgen documentation to use the new go tool dependency functionality introduced in Go 1.24, as opposed to the older
internal/tools.gopattern.Now, the recommended way to add tool dependencies is:
These tools can then be ran directly using
go tool. So, any occurrences of:Have now been replaced with:
Hopefully I caught them all!