Documentation ¶ Index ¶ Variables func Files(_ context.Context, options Params) (files.Output, error) type Config func (c Config) Apply(params Params) (Params, error) type Params func (p Params) Filename() string func (p Params) HashName() string Constants ¶ This section is empty. Variables ¶ View Source var ErrExist = errors.Business("file already exist (%s)", "DM:001") Functions ¶ func Files ¶ func Files(_ context.Context, options Params) (files.Output, error) Types ¶ type Config ¶ type Config struct { OutputDir string `fig:"output_dir" yaml:"output_dir" default:"merges"` } func (Config) Apply ¶ func (c Config) Apply(params Params) (Params, error) type Params ¶ type Params struct { Sources []string OutputDir string Name string } func (Params) Filename ¶ func (p Params) Filename() string func (Params) HashName ¶ func (p Params) HashName() string Source Files ¶ View all Source files merge.go types.go Click to show internal directories. Click to hide internal directories.