empty notes doesnt fail

This commit is contained in:
Bel LaPointe
2022-02-10 07:29:56 -07:00
parent 642622cc02
commit 717ced0380
2 changed files with 5 additions and 2 deletions

View File

@@ -9,8 +9,8 @@ import (
)
type Branch struct {
Leaf Leaf `json:"Leaf,omitempty"`
Branches map[string]Branch `json:"Branches,omitempty"`
Leaf Leaf
Branches map[string]Branch
}
func (branch Branch) IsZero() bool {