Documentation ¶ Index ¶ type Options type Writer func New(logger *slog.Logger, options *Options) (*Writer, error) func (w *Writer) Write(ctx context.Context, material types.Material) error func (w *Writer) WriteMany(ctx context.Context, materials ...types.Material) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Options ¶ type Options struct { Output io.Writer TargetDirectory string } type Writer ¶ type Writer struct { // contains filtered or unexported fields } func New ¶ func New(logger *slog.Logger, options *Options) (*Writer, error) NewManager creates a new output manager. func (*Writer) Write ¶ func (w *Writer) Write(ctx context.Context, material types.Material) error func (*Writer) WriteMany ¶ func (w *Writer) WriteMany(ctx context.Context, materials ...types.Material) error Source Files ¶ View all Source files writer.go Click to show internal directories. Click to hide internal directories.