예제 #1
0
func (bcu *broadcastURL) parseBroadcastsFromURL() (bc []r.Broadcast, err error) {
	return r.GenericParseBroadcastFromURL(bcu.Source, func(r io.Reader, cr *r.CountingReader) ([]r.Broadcast, error) {
		return bcu.parseBroadcastReader(r, cr)
	})
}
예제 #2
0
func (url *calItemRangeURL) parseBroadcasts() (bc []r.Broadcast, err error) {
	return r.GenericParseBroadcastFromURL(url.Source, func(r io.Reader, cr *r.CountingReader) ([]r.Broadcast, error) {
		return url.parseBroadcastsReader(r, cr)
	})
}