package main import ( "strings" "golang.org/x/net/html" ) // section is an h4-anchored block of the docs page. Title is the // heading text (e.g. "User" or "sendMessage"). Description is the // concatenation of immediately-following

paragraphs (until the // next h4 / h3 / table / list). Tables and Lists hold raw nodes for // later parsing by the table/oneof extractors. type section struct { Title string Description string Tables []*html.Node // nodes Lists []*html.Node //