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

Replace strings.TrimRight with strings.TrimSuffix #262

Merged
merged 1 commit into from
Nov 11, 2021

Commits on Nov 11, 2021

  1. Replace strings.TrimRight with strings.TrimSuffix

    TrimRight was not correctly used. It takes a set of characters as the
    second argument and any chars matching the set on the right side of the
    string would be trimmed. TrimSuffix does exactly what I originally
    intended.
    
    Signed-off-by: Aurel Canciu <[email protected]>
    relu committed Nov 11, 2021
    Configuration menu
    Copy the full SHA
    3619625 View commit details
    Browse the repository at this point in the history