13 lines
179 B
Go
13 lines
179 B
Go
|
package utils
|
||
|
|
||
|
import "os"
|
||
|
|
||
|
// Get the current folder with / suffix
|
||
|
func GetExecDirectory() string {
|
||
|
path, err := os.Getwd()
|
||
|
if err != nil {
|
||
|
return ""
|
||
|
}
|
||
|
return path + "/"
|
||
|
}
|