Documentation ¶
Index ¶
- func GetJSONObjectFromFile(filepath string, object interface{}) error
- func GetJSONObjectFromFileWithHash(filepath string, object interface{}) ([]byte, error)
- func ParseDuration(str string) time.Duration
- func ParseInt64(value string) int64
- func ReadFileContent(filepath string) (*string, error)
- func ReadInverseFileContent(filepath string, maxLines int) (*string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetJSONObjectFromFile ¶
GetJSONObjectFromFile Fills the object with the content of a file
func GetJSONObjectFromFileWithHash ¶
GetJSONObjectFromFileWithHash Fills the object with the content of a file
func ParseDuration ¶
func ParseInt64 ¶
func ReadFileContent ¶
ReadFileContent reads the content of a file a returns a pointer to it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.