mirror of
https://gitee.com/energye/energy.git
synced 2024-11-29 18:28:06 +08:00
U: command-line, upg
This commit is contained in:
parent
5fa39e93ea
commit
f1a715ac91
@ -17,5 +17,9 @@ import (
|
||||
|
||||
// Upgrade 升级当前版本
|
||||
func Upgrade(c *command.Config) (err error) {
|
||||
//wd, _ := os.Getwd()
|
||||
//gomod := filepath.Join(wd, "go.mod")
|
||||
//data, _ := ioutil.ReadFile(gomod)
|
||||
//fl, err := modfile.Parse(gomod, data, nil)
|
||||
return errors.New("no added features")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user