summaryrefslogtreecommitdiff
path: root/structs.go
diff options
context:
space:
mode:
Diffstat (limited to 'structs.go')
-rw-r--r--structs.go14
1 files changed, 8 insertions, 6 deletions
diff --git a/structs.go b/structs.go
index b96e676..2e37570 100644
--- a/structs.go
+++ b/structs.go
@@ -8,12 +8,14 @@ import (
// maybe an interface someday?
type Forge struct {
- once sync.Once // one-time initialized data
- Config *ForgeConfigs // config repos for readonly, private, etc
- Repos *gitpb.Repos // the repo protobufs
- Patchsets *Sets // patches that are in progress
- hostname string // your hostname
- goWork bool // means the user is currently using a go.work file
+ once sync.Once // one-time initialized data
+ Config *ForgeConfigs // config repos for readonly, private, etc
+ Repos *gitpb.Repos // the repo protobufs
+ Patches *Patches // patches that are in progress
+ Sets *Sets // patches that are in progress
+ hostname string // your hostname
+ goWork bool // means the user is currently using a go.work file
+ Mode ForgeMode // what "mode" forge is in
}
func (f *Forge) IsGoWork() bool {