-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathroot_common_test.go
32 lines (30 loc) · 964 Bytes
/
root_common_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
package main
import "github.com/jiro4989/textimg/v3/config"
func newDefaultConfig() config.Config {
return config.Config{
Foreground: "white",
Background: "black",
Outpath: "",
AddTimeStamp: false,
SaveNumberedFile: false,
FontFile: "",
FontIndex: 0,
EmojiFontFile: "",
EmojiFontIndex: 0,
UseEmojiFont: false,
FontSize: 20,
UseAnimation: false,
Delay: 20,
LineCount: 1,
UseSlideAnimation: false,
SlideWidth: 1,
SlideForever: false,
ToSlackIcon: false,
PrintEnvironments: false,
UseShellgeiImagedir: false,
UseShellgeiEmojiFontfile: false,
ResizeWidth: 0,
ResizeHeight: 0,
Writer: config.NewMockWriter(false, false),
}
}