From fe7fa867ae97a2c57d066496727967aed50f4d44 Mon Sep 17 00:00:00 2001 From: teddy Date: Sun, 11 Aug 2024 03:00:48 +0200 Subject: [PATCH] fix(config) : rename to cli-template --- config/config.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/config.go b/config/config.go index bdb999d..d9592f8 100644 --- a/config/config.go +++ b/config/config.go @@ -15,12 +15,11 @@ var ( CONFIG_DIR = path.Join(home, ".config", "cli-template") CONFIG_FILE = path.Join(CONFIG_DIR, "config") LOG_FILE = path.Join(CONFIG_DIR, "log") - AVAILABLE_EXT = []string{"jpg", "jpeg", "png", "webp"} - CONFIG_EXEMPLE = `# Configuration file for scan2epub` + CONFIG_EXEMPLE = `# Configuration file for cli-template` ) func InitConfig() error { - tmpName, err := os.MkdirTemp("", "scan2epub") + tmpName, err := os.MkdirTemp("", "cli-template") if err != nil { return err }