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

Fix compatibility issue with Go before 1.11 #575

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix compatibility issue with Go before 1.11 #575

wants to merge 1 commit into from

Conversation

gonutz
Copy link

@gonutz gonutz commented Jun 22, 2019

Instead of using strings.ReplaceAll we just use strings.Replace with -1
as the last argument, which does the same but is a tiny bit less
readable. The value of backwards compatibility is more important.

Instead of using strings.ReplaceAll we just use strings.Replace with -1
as the last argument, which does the same but is a tiny bit less
readable. The value of backwards compatibility is more important.
@raochq
Copy link

raochq commented Aug 21, 2020

I also encountered this problem, hope to merge quickly

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.

2 participants