mirror of
https://github.com/outbackdingo/certificates.git
synced 2026-01-27 10:18:34 +00:00
Add omitempty to requires property.
This commit is contained in:
@@ -106,7 +106,7 @@ type Template struct {
|
||||
TemplatePath string `json:"template"`
|
||||
Path string `json:"path"`
|
||||
Comment string `json:"comment"`
|
||||
RequiredData []string `json:"requires"`
|
||||
RequiredData []string `json:"requires,omitempty"`
|
||||
Content []byte `json:"-"`
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user