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

buildtags: go:build support #208

Merged
merged 3 commits into from
Oct 29, 2021
Merged

buildtags: go:build support #208

merged 3 commits into from
Oct 29, 2021

Conversation

mmcloughlin
Copy link
Owner

Implements formatting of constraints according to the current Go version
supported syntax. This is achieved by delegating to go/format and extracting
out the resulting comments.

Also provides functions to query for constraint syntax support, which are
mainly intended for writing version-dependent tests.

Updates #183

@mmcloughlin mmcloughlin marked this pull request as ready for review October 29, 2021 07:43
@mmcloughlin mmcloughlin merged commit 55d98cc into master Oct 29, 2021
@mmcloughlin mmcloughlin deleted the buildtags-syntax branch October 29, 2021 07:43
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.

1 participant