Chakib Ben Ziane
1102df001c
- no need to implement profile management commands for each module - [todo] profile commands available when ProfileManager interface implemented
14 lines
288 B
Go
14 lines
288 B
Go
package profiles
|
|
|
|
import "path/filepath"
|
|
|
|
type INIProfileLoader struct {
|
|
// The absolute path to the directory where profiles.ini is located
|
|
BasePath string
|
|
ProfilesFile string
|
|
}
|
|
|
|
func (pg *INIProfileLoader) GetPath() string {
|
|
return filepath.Join(pg.BasePath, pg.ProfilesFile)
|
|
}
|