Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultDir ¶
func DefaultDir() string
DefaultDir returns the platform-appropriate default data directory for grain.
- Linux: ~/.grain/
- macOS: ~/Library/Application Support/grain/
- Windows: %APPDATA%\grain\
func EnsureExists ¶
EnsureExists creates the data directory and standard subdirectories if they don't exist.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.