Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DirectoryPath ¶
func DirectoryPath() string
DirectoryPath returns the absolute path to the application's directory.
Types ¶
type File ¶
type File struct {
// contains filtered or unexported fields
}
File models a config file in the application's directory.
func NewFile ¶
NewFile creates a new config file with the given name in the application's directory.
func (*File) Exists ¶
Exists checks whether the file exists with suitable permissions as a file and not as a directory.
Click to show internal directories.
Click to hide internal directories.