14 lines
229 B
Go
14 lines
229 B
Go
|
package store
|
||
|
|
||
|
import (
|
||
|
"os"
|
||
|
"path/filepath"
|
||
|
)
|
||
|
|
||
|
func getStorePath() string {
|
||
|
// TODO - system wide location?
|
||
|
|
||
|
home := os.Getenv("HOME")
|
||
|
return filepath.Join(home, "Library", "Application Support", "Ollama", "config.json")
|
||
|
}
|