func trimLeadingComment()

in hack/verify-boilerplate.go [56:68]


func trimLeadingComment(line, c string) string {
	if strings.Index(line, c) == 0 {
		x := len(c)
		if len(line) == x {
			return ""
		}
		if line[x] == byte(' ') {
			return line[x+1:]
		}
		return line[x:]
	}
	return line
}