initial commit; skelet

This commit is contained in:
2026-06-15 00:35:03 +03:00
commit f7c8d8c724
28 changed files with 454 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
package config
+15
View File
@@ -0,0 +1,15 @@
package config
import (
"os"
"path/filepath"
)
func GetConfigDir() (string, error) {
dir, err := os.UserConfigDir()
if err != nil {
return "", err
}
appConfigDir := filepath.Join(dir, "sakugiri")
return appConfigDir, nil
}