Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/docs/scrapers/go.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Docs
class Go < UrlScraper
self.type = 'go'
self.release = '1.25.1'
self.release = '1.26.0'
self.base_url = 'https://golang.org/pkg/'
self.links = {
home: 'https://golang.org/',
Expand All @@ -10,16 +10,16 @@ class Go < UrlScraper

# Run godoc locally, since https://golang.org/pkg/ redirects to https://pkg.go.dev/std with rate limiting / scraping protection.

# podman run --net host --rm -it docker.io/golang:1.25.1
# podman run --net host --rm -it docker.io/golang:1.26.0
#podman# go install golang.org/x/tools/cmd/godoc@latest
#podman# rm -r /usr/local/go/test/
#podman# godoc -http 0.0.0.0:6060 -v

# or using alpine
# podman run --net host --rm -it alpine:latest
#podman# apk add curl
#podman# curl -LO https://go.dev/dl/go1.25.1.linux-amd64.tar.gz
#podman# tar xf go1.25.1.linux-amd64.tar.gz
#podman# curl -LO https://go.dev/dl/go1.26.0.linux-amd64.tar.gz
#podman# tar xf go1.26.0.linux-amd64.tar.gz
#podman# go/bin/go install golang.org/x/tools/cmd/godoc@latest
#podman# /root/go/bin/godoc -http 0.0.0.0:6060 -v

Expand Down
Loading