summaryrefslogtreecommitdiff
path: root/config.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-05 06:11:57 -0500
committerJeff Carr <[email protected]>2025-10-05 06:11:57 -0500
commitc27727c8e0111f4830ac365614a0de7198314306 (patch)
tree708a97fe4ac3d72101f88e398a86a9e74a74ae8e /config.go
parent44c1fcc9c316636fdc4f52f11ee3eb8045cdfcd1 (diff)
s/GoPath/Namespace/v0.25.57
Diffstat (limited to 'config.go')
-rw-r--r--config.go12
1 files changed, 0 insertions, 12 deletions
diff --git a/config.go b/config.go
index e608530..432039e 100644
--- a/config.go
+++ b/config.go
@@ -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")
-}