소스 검색

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'