Unified · Split
| @@ -1,7 +1,7 @@ | ||
| 1 | 1 | module Docs |
| 2 | 2 | class Go < UrlScraper |
| 3 | 3 | self.type = 'go' |
| 4 | − self.release = '1.24.0' | |
| 4 | + self.release = '1.25.0' | |
| 5 | 5 | self.base_url = 'https://golang.org/pkg/' |
| 6 | 6 | self.links = { |
| 7 | 7 | home: 'https://golang.org/', |
| @@ -10,7 +10,7 @@ module Docs · 2 unmodified lines | ||
| 10 | 10 | |
| 11 | 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.24.0 | |
| 13 | + # podman run --net host --rm -it docker.io/golang:1.25.0 | |
| 14 | 14 | #podman# go install golang.org/x/tools/cmd/godoc@latest |
| 15 | 15 | #podman# rm -r /usr/local/go/test/ |
| 16 | 16 | #podman# godoc -http 0.0.0.0:6060 -v |
| @@ -18,8 +18,8 @@ module Docs · 1 unmodified line | ||
| 18 | 18 | # or using alpine |
| 19 | 19 | # podman run --net host --rm -it alpine:latest |
| 20 | 20 | #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 | |
| 23 | 23 | #podman# go/bin/go install golang.org/x/tools/cmd/godoc@latest |
| 24 | 24 | #podman# /root/go/bin/godoc -http 0.0.0.0:6060 -v |
| 25 | 25 | |