summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
committerJeff Carr <[email protected]>2025-09-13 05:33:11 -0500
commit0f895e83e62749bb1d716033f5f300d9d1c548ac (patch)
treef0d29c4b96f998469cefe140006c4e0a20a361aa /structs.go
parentce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff)
use config GO library
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go17
1 files changed, 8 insertions, 9 deletions
diff --git a/structs.go b/structs.go
index 08aa464..8eb38c7 100644
--- a/structs.go
+++ b/structs.go
@@ -9,15 +9,14 @@ import (
// maybe an interface someday?
type Forge struct {
// one-time initialized data
- once sync.Once
- 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()
- goWork bool // means the user is currently using a go.work file
+ once sync.Once
+ Config *ForgeConfigs // config repos for readonly, private, etc
+ Repos *gitpb.Repos // the repo protobufs
+ Patchsets *Patchsets // patches that are in progress
+ hostname string // your hostname
+ rillX int // used for Rill()
+ rillY int // used for Rill()
+ 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