gouick/helpers/config.go
Matthieu 'JP' DERASSE 48b1739576
Some checks failed
continuous-integration/drone/push Build is failing
feat(init): Start implementing system config
2022-08-04 10:39:24 +00:00

23 lines
558 B
Go

package helpers
import (
"git.home.m-and-m.ovh/mderasse/gouick/helpers/models"
)
const configFile = ".gouick.yaml"
// ReadConfig will search the config file in the given path, read it and return a Config object
func ReadConfig(path string) (*models.Config, error) {
return nil, nil
}
// WriteConfig will write the new or updated config
func WriteConfig(path string, config *models.Config) error {
return nil
}
// WriteConfigFromUserInputParams
func WriteConfigFromUserInputParams(path string, userInput *models.UserInputParams) error {
return nil
}