The Package is designed to be used with a single line code , But you can use it in the regular manner First Step would be to create an object from HTMLTable class ...
htmltable enables structured data extraction from HTML tables and URLs and requires almost no external dependencies. Tested with Go 1.18.x and 1.19.x.