Skip to content

Fix compatibility issue with Go before 1.11#575

Open
gonutz wants to merge 1 commit intolxn:masterfrom
gonutz:master
Open

Fix compatibility issue with Go before 1.11#575
gonutz wants to merge 1 commit intolxn:masterfrom
gonutz:master

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