diff options
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 11 |
1 files changed, 3 insertions, 8 deletions
@@ -10,25 +10,20 @@ import ( type Forge struct { // one-time initialized data once sync.Once - initErr error // init error, if any - goWork bool // means the user is currently using a go.work file 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() - Patchsets *Patchsets // patches that are in progress - goSrc string // the path to go/src + 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 // patchDir string // where patches are stored } -func (f *Forge) GetGoSrc() string { - return f.goSrc -} - func (f *Forge) IsGoWork() bool { return f.goWork } |
