Files
satbd-explorer/album_csv_reader.go

22 lines
468 B
Go

package main
import (
"fmt"
"io"
)
// AlbumCsvReader can read Album definition from a csv file
type AlbumCsvReader struct {
}
// NewAlbumCsvReader creates a new AlbumCsvReader from a reader
func NewAlbumCsvReader(r io.Reader) *AlbumCsvReader {
return nil
}
// Read get the next line in the CSV and return an Album or an error,
// or io.EOF if stream is closed
func (a *AlbumCsvReader) Read() (*Album, error) {
return nil, fmt.Errorf("Niot uyet implemented")
}