Unified · Split
| @@ -17,6 +17,7 @@ module Docs · 16 unmodified lines | ||
| 17 | 17 | css('#plusone', '#nav', '.pkgGopher', '#footer', '.collapsed', '.permalink', '#pkg-callgraph').remove |
| 18 | 18 | |
| 19 | 19 | css('span[style]', '.toggleVisible', '.expanded', 'div.toggle').each do |node| |
| 20 | + node.first_element_child['id'] = node['id'] if node['id'] | |
| 20 | 21 | node.before(node.children).remove |
| 21 | 22 | end |
| 22 | 23 | |
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Go < UrlScraper |
| 3 | 3 | self.type = 'go' |
| 4 | − self.release = '1.11.2' | |
| 4 | + self.release = '1.12' | |
| 5 | 5 | self.base_url = 'https://golang.org/pkg/' |
| 6 | 6 | self.links = { |
| 7 | 7 | home: 'https://golang.org/', |