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