diff options
author | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-02-23 07:43:46 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankarc@autistici.org> | 2021-03-01 08:35:59 +0300 |
commit | d3ff9ad5d3d110293ecc74cdc226bd7f4cbb97f7 (patch) | |
tree | 43b83105a30617773d5b06f64770f5687c3312ef /daemon.go | |
parent | 42edf664d261d680c9ddeba68ce5058c4e59d3c1 (diff) |
Pass address of Config to app class and make the config field explicit
Signed-off-by: Balasankar "Balu" C <balasankarc@autistici.org>
Diffstat (limited to 'daemon.go')
-rw-r--r-- | daemon.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -48,7 +48,7 @@ func daemonMain() { if err := json.NewDecoder(os.NewFile(3, "options")).Decode(&config); err != nil { fatal(err, "could not decode app config") } - runApp(config) + runApp(&config) os.Exit(0) } |