gitlab.com/evatix-go/core@v1.3.55/cmd/main/currentPackageAllFiles.go (about) 1 package main 2 3 import ( 4 "fmt" 5 "log" 6 "path/filepath" 7 8 "gitlab.com/evatix-go/core/chmodhelper" 9 ) 10 11 func currentPackageAllFiles() []string { 12 root, _ := filepath.Abs(".") 13 fmt.Println(root) 14 15 slice, err := chmodhelper.GetRecursivePathsContinueOnError(root) 16 17 if err != nil { 18 log.Fatalln(err) 19 } 20 21 return slice 22 }