Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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]>
- Loading branch information