瀏覽代碼

Update Go documentation (1.4.2)

Thibaut 10 年之前
父節點
當前提交
f43496f866
共有 1 個文件被更改,包括 6 次插入2 次删除
  1. 6 2
      lib/docs/scrapers/go.rb

+ 6 - 2
lib/docs/scrapers/go.rb

@@ -1,8 +1,12 @@
 module Docs
   class Go < UrlScraper
     self.type = 'go'
-    self.version = '1.4.1'
-    self.base_url = 'http://golang.org/pkg/'
+    self.version = '1.4.2'
+    self.base_url = 'https://golang.org/pkg/'
+    self.links = {
+      home: 'https://golang.org/',
+      code: 'https://go.googlesource.com/go'
+    }
 
     html_filters.push 'go/clean_html', 'go/entries'