code: func ensureProxyPathTrailingSlash(originalPath, proxyPath string) string {
  	if len(proxyPath) > 1 {
  		if originalPath[len(originalPath)-1] == '/' && proxyPath[len(proxyPath)-1] != '/' {
  			return proxyPath + "/"
  		}
  	}
  
  	return proxyPath
  }
docs: // ensureProxyPathTrailingSlash Check for a trailing slash in original path and makes
  // sure that a trailing slash is added to proxy path, if not already exists.