summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-11 22:14:57 -0500
committerJeff Carr <[email protected]>2025-09-11 22:14:57 -0500
commiteda91e3af66e4c894f35c13a393a01238464b750 (patch)
tree10135af0d368e2d68d267931673996bd9c8ee850 /structs.go
parent6c3162f7ce42a85afcff0b984fe6972f96fd3c8a (diff)
stop using GoSrc()
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go11
1 files changed, 3 insertions, 8 deletions
diff --git a/structs.go b/structs.go
index 76aa7c7..08aa464 100644
--- a/structs.go
+++ b/structs.go
@@ -10,25 +10,20 @@ import (
type Forge struct {
// one-time initialized data
once sync.Once
- initErr error // init error, if any
- goWork bool // means the user is currently using a go.work file
Config *ForgeConfigs // config repos for readonly, private, etc
Repos *gitpb.Repos // the repo protobufs
+ Patchsets *Patchsets // patches that are in progress
configSave bool // if you need to save the config because things changed
hostname string // your hostname
rillX int // used for Rill()
rillY int // used for Rill()
- Patchsets *Patchsets // patches that are in progress
- goSrc string // the path to go/src
+ goWork bool // means the user is currently using a go.work file
+ // goSrc string // the path to go/src
// forgeURL string // URL to use to forge.wit.com
// configDir string // normally ~/.config/forge
// patchDir string // where patches are stored
}
-func (f *Forge) GetGoSrc() string {
- return f.goSrc
-}
-
func (f *Forge) IsGoWork() bool {
return f.goWork
}