summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-03 01:10:10 -0500
committerJeff Carr <[email protected]>2025-10-03 01:10:10 -0500
commitabd48f2bbf43a8ee772b7da09edb411f59b61064 (patch)
tree7de603e7bb6dd21d285116bee755705570cf19b6
parentec88fb8767771c71885ed3a9eb041a42cdd34119 (diff)
init once
-rw-r--r--structs.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/structs.go b/structs.go
index 0191d8a..da55140 100644
--- a/structs.go
+++ b/structs.go
@@ -8,8 +8,7 @@ import (
// maybe an interface someday?
type Forge struct {
- // one-time initialized data
- once sync.Once
+ 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