You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: schedule.go
    path of file: ./repos/marketstore/contrib/xignitefeeder/feed
    
    the code of the file until where you have to start completion: package feed

import (
	"fmt"
	"sort"
	"strconv"
	"strings"
	"time"

	"github.com/alpacahq/marketstore/v4/utils/log"
)

// ParseSchedule checks comma-separated numbers in a string format
// and returns the list of minutes that data feeding is executed.
// Examples:
// "0,15,30,45" -> [0,15,30,45] (the data feeding
    
func ParseSchedule(s string) ([]int, error) {
	if s == "" {
		log.Debug("[xignite] no schedule is set for off_hours")
		return []int{}, nil
	}
	s = strings.ReplaceAll(s, " ", "")
	strs := strings.Split(s, ",")

	ret := make([]int, len(strs))
	var err error
	for i, m := range strs {
		ret[i], err = strconv.Atoi(m)
		if err != nil {
			return nil, fmt.Errorf("parse %s for scheduling of xignite feeder: %w", m, err)
		}

		if ret[i] < 0 || ret[i] >= 60 {
			return nil, fmt.Errorf("off_hours_schedule[min] must be between 0 and 59: got=%d", ret[i])
		}
	}

	sort.Ints(ret)
	return ret, nil
}