func (u *Unmarshaler) SegmentByID(segmentID string) segment.Segment {
	segments, ok := u.segments[segmentID]
	if ok {
		return segments[0]
	}
	return nil
}
// SegmentByID returns the first segment found for ID
SegmentByID returns the first segment found for ID
// SegmentByID returns the first segment found for ID
func (u *Unmarshaler) SegmentByID(segmentID string) segment.Segment {
	segments, ok := u.segments[segmentID]
	if ok {
		return segments[0]
	}
	return nil
}
func ( u * Unmarshaler ) SegmentByID ( segmentID string ) segment . Segment { segments , ok := u . segments [ segmentID ] if ok { return segments [ 0 ] } return nil }
SegmentByID returns the first segment found for ID
SegmentByID returns the first segment found for ID