diff options
| author | Jeff Carr <[email protected]> | 2025-10-20 13:21:03 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-10-20 13:21:03 -0500 |
| commit | 69b5038c58e6a8487f22aeaf28eddec5c785c283 (patch) | |
| tree | 72b9910c32a803d8c7f3bffc0f5d7175516d39b0 /structs.go | |
| parent | 2ecc340541f88d4c1cbe437efe79a6fcfdbf5499 (diff) | |
probably better. notsure
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 14 |
1 files changed, 8 insertions, 6 deletions
@@ -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 { |
