From: Sergey Matveev Date: Fri, 8 Jan 2021 08:41:31 +0000 (+0300) Subject: Proper json: annotations X-Git-Tag: v5.5.1^2~3 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=4f5346d120168d71af6cd15efa3acaeb3b173041;p=nncp.git Proper json: annotations --- diff --git a/src/cfg.go b/src/cfg.go index a37fbdc..d603a5a 100644 --- a/src/cfg.go +++ b/src/cfg.go @@ -107,9 +107,9 @@ type NotifyJSON struct { type CfgJSON struct { Spool string `json:"spool"` Log string `json:"log"` - Umask string `json:"umask",omitempty` + Umask string `json:"umask,omitempty"` - OmitPrgrs bool `json:"noprogress",omitempty` + OmitPrgrs bool `json:"noprogress,omitempty"` Notify *NotifyJSON `json:"notify,omitempty"`