diff options
author | siddharth <s@ricketyspace.net> | 2021-11-29 21:14:20 -0500 |
---|---|---|
committer | siddharth <s@ricketyspace.net> | 2021-11-29 21:14:20 -0500 |
commit | 08afd093c0dee63b4f25933da1ac4db9aa3fd1ae (patch) | |
tree | ab38adb316eb21753dca82156e91427b4fb9413a /fern.go | |
parent | f79f656ca9d7bb6f96bc4196fdbcd3a691147c77 (diff) |
fern: update init
Add comments.
Diffstat (limited to 'fern.go')
-rw-r--r-- | fern.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -18,12 +18,14 @@ var pState *state.ProcessState func init() { var err error + // Get fern config. fConf, err = config.Read() if err != nil { fmt.Printf("Error: %v\n", err.Error()) os.Exit(1) } + // Initialize process state. pState = state.NewProcessState() // Open database. |