godoc - gophersjp/go GitHub Wiki

memo

詳細は http://godoc.org/github.com/gophersjp/go を見ること。

-http 編(起動時):
  • godoc -http=:6060 でローカルにドキュメントサーバを起動できる
  • godoc -http=:6060 -index で検索が有効になる
  • godoc -http=:6060 -write_index=true -index_files index_file をつけると index_file にインデックスが保存される
  • godoc -http=:6060 -index_files index_file で index_file からインデックスを読み込む
-http 編(操作):
  • パッケージのページURLのクエリに?m=allとすると宣言された全ての内容が表示される

godoc忘備録

翻訳メモ

実装が見当たらない?フラグ:

  • -maxresults
  • -notes