History

Update Go documentation (1.25.0)

Simon Legner committed 1 year ago

Commit 575bbfa1 parent cf1ca161 file · +4 −4Browse files

Unified · Split

lib/docs/scrapers/go.rb+4−4
@@ -1,7 +1,7 @@
11 module Docs
22 class Go < UrlScraper
33 self.type = 'go'
4− self.release = '1.24.0'
4+ self.release = '1.25.0'
55 self.base_url = 'https://golang.org/pkg/'
66 self.links = {
77 home: 'https://golang.org/',
@@ -10,7 +10,7 @@ module Docs · 2 unmodified lines
1010
1111 # Run godoc locally, since https://golang.org/pkg/ redirects to https://pkg.go.dev/std with rate limiting / scraping protection.
1212
13− # podman run --net host --rm -it docker.io/golang:1.24.0
13+ # podman run --net host --rm -it docker.io/golang:1.25.0
1414 #podman# go install golang.org/x/tools/cmd/godoc@latest
1515 #podman# rm -r /usr/local/go/test/
1616 #podman# godoc -http 0.0.0.0:6060 -v
@@ -18,8 +18,8 @@ module Docs · 1 unmodified line
1818 # or using alpine
1919 # podman run --net host --rm -it alpine:latest
2020 #podman# apk add curl
21− #podman# curl -LO https://go.dev/dl/go1.24.0.linux-amd64.tar.gz
22− #podman# tar xf go1.24.0.linux-amd64.tar.gz
21+ #podman# curl -LO https://go.dev/dl/go1.25.0.linux-amd64.tar.gz
22+ #podman# tar xf go1.25.0.linux-amd64.tar.gz
2323 #podman# go/bin/go install golang.org/x/tools/cmd/godoc@latest
2424 #podman# /root/go/bin/godoc -http 0.0.0.0:6060 -v
2525