golang string to lowercase code example Example: go convert to lowercase res1 := strings.ToLower(str1)