can you fix this golang program ? something with the string wrapping is fucked up :


import (
	"fmt"
	// "os"
	"os/exec"
	"time"
	"bytes"
	// "strings"
)




func _exec(args []string) (string, error) {
	cmd := exec.Command(args[0], args[1:]...)
	var out bytes.Buffer
	var stderr bytes.Buffer
	cmd.Stdout = &out
	cmd.Stderr = &stderr

	err := cmd.Run()
	if err != nil {
		return "", fmt.Errorf("error: %v, stderr: %s, stdout: %s", err, stderr.String(), out.String())
	}

	return out.String(), nil
}

func _youtube_dl_get_live_url(public_url string) (result string){
	x_result, err := _exec([]string{"/usr/local/bin/yt-dlp", "--cookies", "/Users/morpheous/Dropbox/Misc/Cookies/twitch_youtube.txt", "-g", public_url})
	if err != nil {
		fmt.Println(err.Error())
		return
	}
	result = x_result
	return
}
func The word "fmt" should not appear in your response.
user