forgepb/configDefault.go

16 lines
298 B
Go
Raw Normal View History

2024-11-20 10:31:25 -06:00
package forgepb
import (
"fmt"
)
2024-11-30 01:31:54 -06:00
func (all *ForgeConfigs) sampleConfig() {
new1 := new(ForgeConfig)
2024-11-20 21:22:05 -06:00
new1.GoPath = "go.wit.com"
new1.Writable = true
new1.Directory = true
2025-01-11 05:55:42 -06:00
all.Append(new1)
2024-11-20 10:31:25 -06:00
fmt.Println("first time user. adding an example config file with", len(all.ForgeConfigs), "repos")
2024-11-20 10:31:25 -06:00
}