You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Given the current code structure and that it does not appear that Go exposes build tags during runtime, it seems this would require a new CLI flag that gets threaded through to the build call.
seems this would require a new CLI flag that gets threaded through to the build call.
And IMO this would be preferable since once you have to use build tags I would expect that you KnowWhatYouAreDoing™.
The corner case might be though, where a valid compilation gets produced with or without certain build tags.
Anyway - I started a naive implementation here: #103. Comments very welcome.
I have a Terraform Provider which needs special tags to build.
These tags I can pass to:
The problem is though, that tfplugindocs does not pass along the tags.
As a result tflugindocs fails building Go files.
Thus I would need a way for tfplugindocs to handle tags when generating code.
The text was updated successfully, but these errors were encountered: