Repo: reorganize the repo structure
This commit is contained in:
		
							
								
								
									
										12
									
								
								framework/utils/exec.go
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								framework/utils/exec.go
									
									
									
									
									
										Normal 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 + "/"
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user