16 lines
298 B
Go
16 lines
298 B
Go
package forgepb
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
func (all *ForgeConfigs) sampleConfig() {
|
|
new1 := new(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")
|
|
}
|