Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

txtar: alias types to x/tools #209

Merged
merged 1 commit into from Mar 27, 2023
Merged

txtar: alias types to x/tools #209

merged 1 commit into from Mar 27, 2023

Conversation

rogpeppe
Copy link
Owner

Although we can't quite use the x/tools/txtar implementation in its entirety (golang/go#59264 needs to be fixed first, and we implement some other functions that x/tools/txtar doesn't (yet?) have, we can at least alias its types, which makes it possible to work with other packages that use those types.

@rogpeppe rogpeppe requested a review from mvdan March 27, 2023 15:25
Copy link
Collaborator

@mvdan mvdan left a comment

Choose a reason for hiding this comment

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

SGTM, but note that your x/tools version is ancient, from July 2022 - the latest is v0.7.0.

Although we can't quite use the x/tools/txtar implementation in its
entirety (golang/go#59264 needs
to be fixed first, and we implement some other functions that
x/tools/txtar doesn't (yet?) have, we can at least alias its
types, which makes it possible to work with other packages
that use those types.
@rogpeppe rogpeppe force-pushed the 038-txtar-alias-types branch 2 times, most recently from 592b676 to 9a713f0 Compare March 27, 2023 16:04
@rogpeppe rogpeppe closed this Mar 27, 2023
@rogpeppe rogpeppe deleted the 038-txtar-alias-types branch March 27, 2023 16:04
@rogpeppe rogpeppe restored the 038-txtar-alias-types branch March 27, 2023 16:04
@rogpeppe rogpeppe reopened this Mar 27, 2023
@rogpeppe rogpeppe merged commit ca7ccbd into master Mar 27, 2023
12 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.

None yet

2 participants