fix: pointer type mismatch
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/importer/ingest.go → internal/importer/ingest.go
@@ -106,14 +106,14 @@ dec *jstream.Decoder ms *mapstructure.Decoder optJSON nixOptionJSON infile *os.File - source Source + source *Source } type Ingester[T options.NixOption] interface { Process() (<-chan *T, <-chan error) } -func NewOptionProcessor(inpath string, source Source) (*OptionIngester, error) { +func NewOptionProcessor(inpath string, source *Source) (*OptionIngester, error) { infile, err := os.Open(inpath) if err != nil { return nil, errors.WithMessagef(err, "failed to open input file %s", inpath)