-
-
Notifications
You must be signed in to change notification settings - Fork 522
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
Export dockerCompose type so consumers can store it in a variable and call Down #2907
Comments
@mdelapenya I'd like to volunteer to pick this up. |
@jasonyunicorn please do it 🙏 If you don't know where to start, please open the initial PR in draft and we can iterate/discuss around it. Thanks for volunteering! |
I created a PR which exports the Should this Issue (and PR) be closed? |
I'm not a maintainer, but a user interested in this. Edit: This is even considered a "warning" in the revive linter: https://github.com/mgechev/revive/blob/master/RULES_DESCRIPTIONS.md#unexported-return. |
@KenjiTakahashi @mdelapenya @jasonyunicorn
func New() (tc.ComposeStack, error) {
return tc.NewDockerCompose("...")
} |
@KenjiTakahashi is right, returning private types is a code smell. If we update the reason for the PR to address that instead of the current reason, happy to accept that. |
No description provided.
The text was updated successfully, but these errors were encountered: