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

Commits on Jun 22, 2019

  1. Fix compatibility issue with Go before 1.11

    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.
    gonutz committed Jun 22, 2019
    Configuration menu
    Copy the full SHA
    128c020 View commit details
    Browse the repository at this point in the history