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

feat: add -build-tag flag. #215

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

feat: add -build-tag flag. #215

wants to merge 2 commits into from

Conversation

njupg
Copy link

@njupg njupg commented Apr 10, 2024

We use moq to build mocks for testing beyond the current package. We'd like those mocks to be available only to tests, not live code, so we've been doing this by catting build tags into the generated mocks. This adds a flag to make that process easier.

We use moq to build mocks for testing beyond the current package.  We'd like those mocks to be available only to tests, not live code, so we've been doing this by catting build tags into the generated mocks.  This adds a flag to make that process easier.
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