You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
sonic/config/default_config.go

15 lines
417 B
Go

package config
import (
"os"
"path/filepath"
)
var (
TempDir = os.TempDir()
BackupDir = filepath.Join(TempDir, "sonic-backup") + string(os.PathSeparator)
BackupMarkdownDir = filepath.Join(TempDir, "sonic-backup-markdown") + string(os.PathSeparator)
DataExportDir = filepath.Join(TempDir, "sonic-data-export") + string(os.PathSeparator)
ResourcesDir, _ = filepath.Abs("./resources")
)