mirror of https://github.com/go-sonic/sonic.git
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.
15 lines
417 B
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")
|
|
)
|