package utils import ( "os" "path/filepath" ) type Utils struct { } func (u *Utils) CurrentDir() string { return filepath.Dir(os.Args[0]) }