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