strings.TrimPrefix is designed for this :-)