trimsuffix
Overview
Description
TrimSuffix returns s without the provided trailing suffix string. If s doesn't end with suffix, s is returned unchanged.
Implementation details
Uses the strings.trimsuffix library/function from golang.
Compliance to Spec
Rough level of compliance
100%