diff --git a/class.go b/class.go index 53ebbe8..346fecb 100644 --- a/class.go +++ b/class.go @@ -289,6 +289,12 @@ func parseField(s *goquery.Selection) (Field, error) { } res.Type = MapType(CleanUp(typeElement.Text())) + readonlyElement := s.Find("td[align='right']") + if readonlyElement.Length() != 0 { + // return res, fmt.Errorf("no readonly found") + res.Comment = CleanUp(readonlyElement.Text()) + } + comments := s.ChildrenFiltered("div") if comments.Length() == 0 { return res, fmt.Errorf("no comments found")