diff options
| author | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-09-13 05:33:11 -0500 |
| commit | 0f895e83e62749bb1d716033f5f300d9d1c548ac (patch) | |
| tree | f0d29c4b96f998469cefe140006c4e0a20a361aa /structs.go | |
| parent | ce4af38e8b7f05a6d8b48bc957091de0b0b0a9e7 (diff) | |
use config GO library
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 17 |
1 files changed, 8 insertions, 9 deletions
@@ -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 |
