diff options
| author | Jeff Carr <[email protected]> | 2024-11-28 23:00:29 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2024-11-28 23:00:29 -0600 |
| commit | 488550a081769f491f326c7949add6cb9f0cc0b4 (patch) | |
| tree | 15cfbac9c9af70d68b88fc4533f2e0db1b102dee /init.go | |
| parent | a9e35d54295e979566940d60401014296801e553 (diff) | |
add example code. add sync.onlyOnce
Diffstat (limited to 'init.go')
| -rw-r--r-- | init.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,10 @@ func init() { func Init() *Forge { f := new(Forge) + + // cache.go has Do() + // f.initOnce.Do(f.initWork) + f.Config = new(ForgeConfigs) // load the ~/.config/forge/ config |
