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