summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-11-29 21:14:20 -0500
committersiddharth <s@ricketyspace.net>2021-11-29 21:14:20 -0500
commit08afd093c0dee63b4f25933da1ac4db9aa3fd1ae (patch)
treeab38adb316eb21753dca82156e91427b4fb9413a
parentf79f656ca9d7bb6f96bc4196fdbcd3a691147c77 (diff)
fern: update init
Add comments.
-rw-r--r--fern.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/fern.go b/fern.go
index 0da251e..5d3f3d2 100644
--- a/fern.go
+++ b/fern.go
@@ -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.