Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Read ¶
Read is a function that parses the content of the file into the provided cfg structure. The path parameter should be a string representing the path to the file. The structPtr parameter should be a pointer to a struct where each field represents a configuration option. The function returns an error if the parsing process fails, wrapping the original error with a message.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.