Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DateFormat is the default format for date in config file. DateFormat = time.RFC3339 )
Variables ¶
This section is empty.
Functions ¶
func ReadInConfig ¶
ReadInConfig reads wakatime config file in memory.
func WakaHomeDir ¶ added in v1.26.1
WakaHomeDir returns the current user's home directory.
Types ¶
type IniWriter ¶
type IniWriter struct { File *ini.File ConfigFilepath string }
IniWriter stores the configuration necessary to write to config file.
Click to show internal directories.
Click to hide internal directories.