History

Update Go documentation (1.23.0)

Simon Legner committed 2 years ago

Commit d31460e1 parent 00175481 file · +2 −2Browse files

Unified · Split

lib/docs/scrapers/go.rb+2−2
@@ -1,7 +1,7 @@
1module Docs1module Docs
2 class Go < UrlScraper2 class Go < UrlScraper
3 self.type = 'go'3 self.type = 'go'
4 self.release = '1.22.0'4 self.release = '1.23.0'
5 self.base_url = 'https://golang.org/pkg/'5 self.base_url = 'https://golang.org/pkg/'
6 self.links = {6 self.links = {
7 home: 'https://golang.org/',7 home: 'https://golang.org/',
@@ -10,7 +10,7 @@ module Docs · 2 unmodified lines
10 10
11 # Run godoc locally, since https://golang.org/pkg/ redirects to https://pkg.go.dev/std with rate limiting / scraping protection.11 # Run godoc locally, since https://golang.org/pkg/ redirects to https://pkg.go.dev/std with rate limiting / scraping protection.
12 12
13 # podman run --net host --rm -it docker.io/golang:1.21.513 # podman run --net host --rm -it docker.io/golang:1.23.0
14 #podman# go install golang.org/x/tools/cmd/godoc@latest14 #podman# go install golang.org/x/tools/cmd/godoc@latest
15 #podman# rm -r /usr/local/go/test/15 #podman# rm -r /usr/local/go/test/
16 #podman# godoc -http 0.0.0.0:6060 -v16 #podman# godoc -http 0.0.0.0:6060 -v