From b2e51ccb9efc326fda8615b1d2ad9f2ea3f16652 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Tue, 17 Dec 2024 01:15:17 -0600 Subject: improve Init() --- structs.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'structs.go') diff --git a/structs.go b/structs.go index 7ec1abb..90b84bc 100644 --- a/structs.go +++ b/structs.go @@ -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 { -- cgit v1.2.3