refactor: reduce use of pointers in particular, Source can no longer be nil. Instantiate a Source with an Importer of All instead
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M internal/importer/options.go → internal/importer/options.go
@@ -65,12 +65,12 @@ ms *mapstructure.Decoder log *log.Logger optJSON nixOptionJSON infile io.ReadCloser - source *config.Source + source config.Source } func NewOptionProcessor( infile io.ReadCloser, - source *config.Source, + source config.Source, log *log.Logger, ) (*OptionIngester, error) { i := OptionIngester{