Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Goのissueを楽に読みたかった話@Asakusa.go#3
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
taiga
September 14, 2024
Programming
92
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Goのissueを楽に読みたかった話@Asakusa.go#3
Asakusa.go#3で発表したLTの資料です
taiga
September 14, 2024
Transcript
20 slides
Asakusa.go Goのissueを楽に読みたかった話 taiga
自己紹介 株式会社USEN-ALMEX R&D本部 バックエンド開発グループ 兼 採用育成センター 興野 大雅 業務内容 バックエンド開発、インフラ設計・構築、脆弱性診断 新卒・中途育成、採用業務
Goのissue問題
なぜ読むのか どんな機能が望まれているのか どんな機能が追加されそうか
5923個 2023年のissueの数
Proposal = 860個 860 ÷ 365 = 1日2.3個のissue
今年最初のissue net/http: allow multiple spaces between method and path in
mux patterns ※日本時間で調査 原文 net/http: mux パターンでメソッドとパスの間に複数の スペースを入れることを許可する 日本語訳 https://github.com/golang/go/issues/64910
// 2つ以上のスペースを許可しない r.Handle("GET /my-route", handler) 以前までのGo
// タブや複数のスペースを許可 r.Handle("GET /my-route", handler1) r.Handle("POST /my-route", handler2) r.Handle("DELETE /my-route",
handler3) Go1.23では
……Goのissueとか まず、どう読むねん
ラベルで見たいやつだけ 選ぼうか
Proposal 新しい機能や言語仕様の変更に関連する提案を示すラベル compiler/runtime Goのコンパイラやランタイムに関するissueに使用されるラベル Goのパフォーマンスなどに影響を与える可能性がある LanguageChange 言語仕様に関する変更提案に使用されるラベル
これで、新しい提案とかは 見れるけど……面倒だな 実際、承認されるか分からないし…… 取り敢えず、今後追加される機能を 知れればいいしなぁ
Goの提案レビュー会の 議事録があるらしい…… https://github.com/golang/go/issues/33502 ちなみにissueがリスト化されてるやつもあります https://github.com/orgs/golang/projects/17/vie ws/1
このissueコメントから 直近、承認されたissueだけを取得 できれば…… ついでにそれを毎週自動化できれば…… さらについでにAIで要約させれば……
go-githubでGithubAPIを実行 var queryParams github.IssueListCommentsOptions if len(duration) > 0 { since
:= time.Now().Add(-duration[0]) queryParams = github.IssueListCommentsOptions{ Since: since, } } comments, response, err := client.Issues.ListComments(context.Background(), OWNER, REPO, issueID, &queryParams)
インフラ構成
タイトル: GoのdocツールにHTTPオプションを追加する提案 提案の概要: 「go doc」コマンドは、標準出力にドキュメンテーションを表示します。これは、一つのパッケージやシンボルについてすばや く調査するには便利ですが、長時間の読書には、より良いタイポグラフィとリンクされたクロスリファレンスを持つブラウザの 方が便利です。そこで、「go doc -http」がpkgsiteインスタンスをバックグラウンドで開始し(既に実行中でない場合)、パッ ケージやシンボルの正しいURLへのウェブブラウザを開くことを提案します。
コメントの解説: コメントは、この提案についての議論やフィードバックを示しています。ユーザー"qiulaidongfeng"は、「go doc -http」を実 行してpkgsiteプロセスを開始し、ブラウザを開き、それから「syscall.SIGINT」信号を待ち、その信号が届いたら最初に pkgsiteプロセスを閉じてから自身を終了する方法について知りたいとの意見を述べています。これに対して、"adonovan"は、 「go doc -http」が中断されるまでサーバーの終了をブロックすることができると回答しています。また、"rsc"は、提案を受け 入れる可能性が高いと述べており、ブラウザのウィンドウがすべて閉じられたら「go doc -http」を終了させることを提案して います。 結論: この提案は受け入れられ、実装の作業が進行中です。「go doc -http」がサーバーを開始し、指定したパッケージのドキュメン テーションを表示するブラウザウィンドウを開く機能が追加されます。ブラウザが正常にナビゲートし、開いていたウィンドウ がすべて閉じられた場合、または早期に^Cで終了された場合、「go doc -http」は終了します。 参考:https://github.com/golang/go/issues/68106
おわりに issueを見たければ、ラベルで フィルタリングするとよいのでは 英語が苦手・今後の承認されたissueだけ知りたければ AcceptedのissueをAIで要約させよう
よきGoライフを!!
More Decks by taiga
See All by taiga
Grok Bot Tokyo Hackathon
taigakono
3
5.7k
Cursor SDKを布教したい
taigakono
0
87
エディタを超えたAIの新たなる戦場
taigakono
0
150
マルチリポジトリで開発する際のTips
taigakono
1
500
AI時代に叶えるセキュアなコードレビュー
taigakono
0
110
Cursor基本機能紹介
taigakono
1
1.3k
Cursor CLIによるタスク自動化術
taigakono
1
210
GitHub Copilotは、大体全てを内包している相棒だぜ!!
taigakono
0
120
コスパの良いjules(Google版Devin)を今のうちに
taigakono
0
160
Other Decks in Programming
See All in Programming
React Native経験者が Flutterを30⽇間触って驚いたこと
3saito
0
180
Vapor Mode でアクセシビリティは 壊れないか検証した話
fuqda
1
340
ビジネスロジックを堅牢に~Scala 3のドメインプリミティブ~
j5ik2o
0
120
Performance Optimization With LLMs
xleitix
0
250
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
2
300
作れるエンジニアから、価値を届けるエンジニアへ
ryunakayama
1
280
AI-Powered Domain-Driven Design
ziobrando
0
440
AI時代のFlutter品質設計 — アプリ品質を守るQuality Layers
omatty198
0
370
エージェントを使い続けるためのメタワーク / Meta-work for keeping using the agent
rkaga
6
2.3k
まずはコードより業務と向き合う:テーブル解体のためにPdMを呼んだ話
sakawe_ee
0
220
ActionController meets Protocol Buffers
sorah
1
800
Engineering Biometric UX Across Android Versions | DroidKnights 2026
ryunen344
1
200
Featured
See All Featured
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
320
SEO in 2025: How to Prepare for the Future of Search
ipullrank
3
3.9k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
520
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
470
A better future with KSS
kneath
240
18k
Docker and Python
trallard
47
4.3k
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
530
How to audit for AI Accessibility on your Front & Back End
davetheseo
0
640
Navigating Weather and Climate Data
rabernat
0
590
Designing Dashboards & Data Visualisations in Web Apps
destraynor
232
55k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
How to Talk to Developers About Accessibility
jct
2
620