Commit eac08d5ef2

eac08d5ef2c0324010a0779e006033a6b8dec423

parent: 35657cf6e7

Unsigned

Wraient <wraient.911@gmail.com> · 2024-10-18 19:50 UTC

default curd config

Layout: unified · split

internal/curd.go +16
@@ -9,6 +9,22 @@ import (
99 // "log"
1010)
1111
12type curdConfig struct {
13 player string
14 historyFile string
15 subs_language string
16 sub_or_dub string
17 percentageToMarkComplete int
18 nextEpisodePrompt bool
19 skipOp bool
20 skipEd bool
21 skipFiller bool
22 skipRecap bool
23 scoreOnCompletion bool
24 saveMpvSpeed bool
25 discordPresence bool
26}
27
1228// LogData logs the input data into a specified log file with the format [LOG] time lineNumber: logData
1329func Log(data interface{}, logFile string) error {
1430 // Open or create the log file