added config flixble system

This commit is contained in:
2023-02-22 02:46:11 +00:00
parent c7a665fdc8
commit 4dac4234ad
22 changed files with 440 additions and 799 deletions

View File

@@ -206,7 +206,7 @@ func (grp *Group) AddGroupToFile() error {
// result to Groups
func ReadGroup() (*Groups, error) {
// Get Path from config
config, err := config.ConfigInit()
config, err := config.ConfigInit(nil)
if err != nil {
return nil, err
}
@@ -234,7 +234,7 @@ func (grp *Groups) WriteGroup() error {
return err
}
// Get Path from config
config, err := config.ConfigInit()
config, err := config.ConfigInit(nil)
if err != nil {
return err
}