Repo: reorganize the repo structure

This commit is contained in:
Muyao CHEN
2024-09-30 13:42:37 +02:00
parent c3fc59b8f1
commit 17b19e3a10
14 changed files with 203 additions and 58 deletions

12
framework/utils/exec.go Normal file
View File

@ -0,0 +1,12 @@
package utils
import "os"
// Get the current folder with / suffix
func GetExecDirectory() string {
path, err := os.Getwd()
if err != nil {
return ""
}
return path + "/"
}