summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
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