diff options
Diffstat (limited to 'config.go')
| -rw-r--r-- | config.go | 12 |
1 files changed, 0 insertions, 12 deletions
@@ -4,8 +4,6 @@ package main // data to and from config files import ( - "fmt" - "go.wit.com/lib/config" "go.wit.com/lib/protobuf/forgepb" "go.wit.com/log" @@ -24,13 +22,3 @@ func setForgeMode(fmode forgepb.ForgeMode) { config.SetChanged("forge", true) me.forge.Config.ConfigSave() } - -func sampleConfig(all *forgepb.ForgeConfigs) { - new1 := new(forgepb.ForgeConfig) - new1.GoPath = "go.wit.com" - new1.Writable = true - new1.Directory = true - all.Append(new1) - - fmt.Println("first time user. adding an example config file with", len(all.ForgeConfigs), "repos") -} |
