23 lines
558 B
Go
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
|
|
}
|