merge

package
v0.10.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2023 License: GPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL