diff --git a/example/example_struct/example_struct.go b/example/example_struct/example_struct.go index efc0a2c..62b2fff 100644 --- a/example/example_struct/example_struct.go +++ b/example/example_struct/example_struct.go @@ -12,7 +12,7 @@ import ( type Var struct { Expiry time.Time `json:"expiry,omitempty"` - ID string `json:"id",omitempty` + ID string `json:"id,omitempty"` } // We will order the node by `Time`