fix NewConfig
This commit is contained in:
parent
21b7e666bb
commit
a478327382
1 changed files with 2 additions and 0 deletions
2
tree.go
2
tree.go
|
@ -150,12 +150,14 @@ func NewConfig(
|
||||||
attachmentDirName string,
|
attachmentDirName string,
|
||||||
customMeta map[string]func() string,
|
customMeta map[string]func() string,
|
||||||
excludes []string,
|
excludes []string,
|
||||||
|
apps map[string]appCallback,
|
||||||
) Config {
|
) Config {
|
||||||
return Config{
|
return Config{
|
||||||
ReadableFormats: readableFormats,
|
ReadableFormats: readableFormats,
|
||||||
AttachmentDirName: attachmentDirName,
|
AttachmentDirName: attachmentDirName,
|
||||||
CustomMeta: customMeta,
|
CustomMeta: customMeta,
|
||||||
Excludes: excludes,
|
Excludes: excludes,
|
||||||
|
Apps: apps,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue