We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Figure out whether there is a sensible way to recognize this pattern as something that can be rewritten with "+":
fmt.Sprintf("DirAvailable-%s", strings.Replace(dac.Path, "/", "-", -1))
Basically, we need to:
%s
Text.Matches
"DirAvailable-" + strings.Replace(dac.Path, "/", "-", -1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Figure out whether there is a sensible way to recognize this pattern as something that can be rewritten with "+":
Basically, we need to:
%s
and has no other formatting directives (can be done withText.Matches
)"DirAvailable-" + strings.Replace(dac.Path, "/", "-", -1)
and the hard part is to trim%s
from the format stringThe text was updated successfully, but these errors were encountered: