goics
goics copied to clipboard
Add a getter to Elements decoded.. for avoiding to test if prop exists in map.
When decoding a ical, inside the consumer:
ev := &Event{
Start: start,
End: end,
UID: node["UID"].Val,
Summary: node["SUMMARY"].Val,
}
If Node["SUMMARY"] don't esists, its a nil pointer.. Provide a node.Get("SUMMARY"), just to test or return ""..