Documentation ¶ Index ¶ type Directory type Option func WithDirectories(v ...Directory) Option func WithDry(v bool) Option func WithOverride(v bool) Option type Scaffold func New(l log.Logger, opts ...Option) (*Scaffold, error) func (s *Scaffold) Render(ctx context.Context) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Directory ¶ type Directory struct { Source fs.FS Target string Data any } type Option ¶ type Option func(*Scaffold) error func WithDirectories ¶ func WithDirectories(v ...Directory) Option func WithDry ¶ func WithDry(v bool) Option func WithOverride ¶ func WithOverride(v bool) Option type Scaffold ¶ type Scaffold struct { // contains filtered or unexported fields } func New ¶ func New(l log.Logger, opts ...Option) (*Scaffold, error) func (*Scaffold) Render ¶ func (s *Scaffold) Render(ctx context.Context) error Source Files ¶ View all Source files directory.go scaffold.go Click to show internal directories. Click to hide internal directories.