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

format: import paths similar to the module path aren't std #199

Merged
merged 1 commit into from
Feb 22, 2022

Conversation

mvdan
Copy link
Owner

@mvdan mvdan commented Feb 21, 2022

(see commit message)

Fixes #22.
Fixes #117.
Fixes #120.
Fixes #187.

@mvdan mvdan requested a review from Oiyoo February 21, 2022 20:59
@mvdan
Copy link
Owner Author

mvdan commented Feb 21, 2022

cc @glightfoot @cespare @lewislbr @sk0g if you're up for reviewing the changes or testing them with your projects :)

Add the feature, test it, and document it in the README.
It's enough to mention it in the FAQ, as I expect that most users will
never run into this edge case. And those few that may run into it will
hopefully never need to know how it works or why.

Note that this adds a new option to pass the info from go.mod,
much like LangVersion already did.

Fixes #22.
Fixes #117.
Fixes #120.
Fixes #187.
@mvdan mvdan force-pushed the module-path-not-std branch from 826e0eb to e3e58bf Compare February 21, 2022 21:02
@cespare
Copy link

cespare commented Feb 21, 2022

@mvdan I tried it out. Works great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants