[devdocsgjs/main: 227/239] Update Go documentation (1.18.0)
- From: Andy Holmes <andyholmes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [devdocsgjs/main: 227/239] Update Go documentation (1.18.0)
- Date: Fri, 8 Apr 2022 07:47:44 +0000 (UTC)
commit d453c3ea98436ff8f20afeb6fb11937773aea12b
Author: Simon Legner <Simon Legner gmail com>
Date: Wed Mar 16 17:06:20 2022 +0100
Update Go documentation (1.18.0)
lib/docs/scrapers/go.rb | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/lib/docs/scrapers/go.rb b/lib/docs/scrapers/go.rb
index da23bb32..3b2e5511 100644
--- a/lib/docs/scrapers/go.rb
+++ b/lib/docs/scrapers/go.rb
@@ -1,7 +1,7 @@
module Docs
class Go < UrlScraper
self.type = 'go'
- self.release = '1.17.5'
+ self.release = '1.18.0'
self.base_url = 'https://golang.org/pkg/'
self.links = {
home: 'https://golang.org/',
@@ -10,9 +10,10 @@ module Docs
# Run godoc locally, since https://golang.org/pkg/ redirects to https://pkg.go.dev/std with rate
limiting / scraping protection.
- # curl -LO https://golang.org/dl/go1.17.5.windows-amd64.zip
- # go install golang.org/x/tools/cmd/godoc@latest
- # go/bin/godoc -zip=go1.17.5.windows-amd64.zip -goroot=/go
+ # docker run --expose=6060 --rm -it docker.io/golang:1.18.0
+ #docker# go install golang.org/x/tools/cmd/godoc@latest
+ #docker# rm -r /usr/local/go/test/
+ #docker# godoc -http 0.0.0.0:6060 -v
self.base_url = 'http://localhost:6060/pkg/'
html_filters.push 'clean_local_urls'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]