Initial scaffold: project structure, .gitignore, go.mod
This commit is contained in:
8
internal/config/paths.go
Normal file
8
internal/config/paths.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package config
|
||||
|
||||
import "path/filepath"
|
||||
|
||||
// ConfigPath returns the path to config.json.
|
||||
func ConfigPath() string {
|
||||
return filepath.Join(ConfigDir(), "config.json")
|
||||
}
|
||||
Reference in New Issue
Block a user