History

Update Go documentation (1.21.5)

Simon Legner committed 2 years ago

Commit 9d0d3ec1 parent f131e1a1 file · +5 −5Browse files

Unified · Split

lib/docs/scrapers/go.rb+5−5
@@ -1,7 +1,7 @@
11 module Docs
22 class Go < UrlScraper
33 self.type = 'go'
4− self.release = '1.21.0'
4+ self.release = '1.21.5'
55 self.base_url = 'https://golang.org/pkg/'
66 self.links = {
77 home: 'https://golang.org/',
@@ -10,10 +10,10 @@ 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− # docker run --expose=6060 --rm -it docker.io/golang:1.18.0
14− #docker# go install golang.org/x/tools/cmd/godoc@latest
15− #docker# rm -r /usr/local/go/test/
16− #docker# godoc -http 0.0.0.0:6060 -v
13+ # podman run --net host --rm -it docker.io/golang:1.21.5
14+ #podman# go install golang.org/x/tools/cmd/godoc@latest
15+ #podman# rm -r /usr/local/go/test/
16+ #podman# godoc -http 0.0.0.0:6060 -v
1717 self.base_url = 'http://localhost:6060/pkg/'
1818
1919 html_filters.push 'clean_local_urls'

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t