Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetEnvFilePath ¶
func GetEnvFilePath() string
GetEnvFilePath retrieves the absolute file path of the .env file in the directory where the calling function is located. If the caller information cannot be obtained, a message will be printed to the console. The function combines the directory path and the name of the .env file using filepath.Join. Returns the absolute file path of the .env file.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.