diff options
| author | Jeff Carr <[email protected]> | 2024-12-17 01:15:17 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-12-17 01:15:17 -0600 |
| commit | b2e51ccb9efc326fda8615b1d2ad9f2ea3f16652 (patch) | |
| tree | 2c754b6fa07b76d4676498dd5de5bf75b2b509a6 /structs.go | |
| parent | 1369d2df3168426e450dd07314dcaf82dccf232c (diff) | |
improve Init()
Diffstat (limited to 'structs.go')
| -rw-r--r-- | structs.go | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -13,11 +13,12 @@ type Forge struct { initOnce sync.Once initErr error // init error, if any - goSrc string // the path to go/src - goWork bool // means the user is currently using a go.work file - Config *ForgeConfigs // config repos for readonly, private, etc - Repos *gitpb.Repos - Machine *zoopb.Machine + goSrc string // the path to go/src + goWork bool // means the user is currently using a go.work file + Config *ForgeConfigs // config repos for readonly, private, etc + Repos *gitpb.Repos + Machine *zoopb.Machine + configSave bool } func (f *Forge) GetGoSrc() string { |
