Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AbsPathify ¶
AbsPathify takes a path, cleans it, replace env variables in it and transform it to an absolute path.
func GetStructType ¶
GetStructType returns a struct from its reflection type.
func Host ¶
func Host() string
Host is a simple function that returns the current host name if possible, 127.0.0.1 otherwise.
func InitializeStruct ¶
InitializeStruct initialize a Go struct from reflect type and value.
func UserHomeDir ¶
func UserHomeDir() string
UserHomeDir returns the user home directory in a crossplatform way.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.