In Go, you're code may look like the following.
The best HTML parsing libraries for web scraping, comparing features like CSS selector and XPath support across popular tools like jsoup, Nokogiri, and Cheerio.