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
filesystem風チャットchatsh開発で学んだGoの便利package紹介
Search
ponyo877
May 21, 2025
Technology
460
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
filesystem風チャットchatsh開発で学んだGoの便利package紹介
ponyo877
May 21, 2025
More Decks by ponyo877
See All by ponyo877
フルスタックGoでスコア改ざんを防いだ話
ponyo877
0
990
全てGoで作るP2P対戦ゲーム入門
ponyo877
3
2.3k
Go言語の2Dゲームエンジン Ebitengineの紹介
ponyo877
2
210
OGPer あなたのサイトに簡単にOGPを付けよう
ponyo877
0
70
ISUCON14感想戦で85万点まで頑張ってみた
ponyo877
1
1.3k
Goのwasmで笑い男に挑戦してみた
ponyo877
1
270
GoのWasmでのWebRTC P2Pの検証+α
ponyo877
0
170
Ebitengineの1vs1ゲーム WebRTCの活用
ponyo877
0
820
GoのWasmでWebRTC P2Pで通信する
ponyo877
0
590
Other Decks in Technology
See All in Technology
Claude in Chrome 入門 / Introduction to Claude in Chrome
cielo1985
0
830
Claude Codeを「使うほど育つ」AI秘書にするノウハウ
minorun365
PRO
30
25k
新機種発売前に見直そう!端末移行で再ログインが要るアプリ・要らないアプリは何が違うのか 〜シームレスに再開できる設計と実装〜
zozotech
PRO
0
200
なぜ「決定性」が 決定的に重要なのか? Durable Execution 基盤の数理的理解 #serverlessjp / ServerlessDays Tokyo 2026
ytaka23
0
180
AIエージェントの自己改善をどう設計するか / How to Design Self-Improvement for AI Agents
22mi
23
16k
例外の正しい扱い方 そのエラー try-catchして大丈夫?
jinwatanabe
3
510
登壇の自信を奪う3匹のオバケ / 3 Ghosts That Rob You of Your Confidence in Public Speaking
pauli
8
950
バイブコーディング時代のWebアプリ開発入門~Cloud Runで学ぶセキュアなビルドとデプロイ
waiwai2111
1
130
安心して変更できるWebフロントエンドの作り方
pirosikick
4
2.6k
ソフトウェアDNAとクラウドエージェントのススメ
cloudace
0
110
Screen Lens - 今見てる画面を翻訳する
komagata
0
320
品質と信頼性を地続きにする
grimoh
0
440
Featured
See All Featured
For a Future-Friendly Web
brad_frost
183
10k
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
1
850
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
380
Leo the Paperboy
mayatellez
10
2.3k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
330
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
490
Why Mistakes Are the Best Teachers: Turning Failure into a Pathway for Growth
auna
0
290
Information Architects: The Missing Link in Design Systems
soysaucechin
1
1.1k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
Marketing Yourself as an Engineer | Alaka | Gurzu
gurzu
0
300
Paper Plane (Part 1)
katiecoart
PRO
2
11k
Are puppies a ranking factor?
jonoalderson
2
3.9k
Transcript
"TBLVTBHP ਫ QPOZP GJMFTZTUFN෩νϟοτDIBUTI ։ൃͰֶΜͩ(PͷศརQBDLBHFհ มͳνϟοτ✌ 5IF(PHPQIFSXBTEFTJHOFECZ 3FOFF'SFODI
QPOZPͷࣗݾհ ໊લQPOZP ࣄιϑτΣΞΤϯδχΞ ઙཁૉׂͱۙ͘ʹॅΜͰ͍Δ "TBLVTBHPQPOZP
ൃදͷςʔϚͱಈػ (PͰαʔόͱ௨৴͢Δ$-*Λ࡞Γ͍ͨ $-*αʔόؒH31$Ͱ௨৴ͤ͞Δ H31$ͷํετϦʔϛϯάΛ͏ 6OBSZ31$ 4FSWFSTUSFBNJOH31$ $MJFOUTUSFBNJOH31$ #JEJSFDUJPOBMTUSFBNJOH31$ˡ͜Ε "TBLVTBHPQPOZP $-*
JO(P H31$ 4FSWFS JO(P
DIBUTIͷσϞcόοΫΞοϓ "TBLVTBHPQPOZP brew install ponyo877/tap/chatsh
ศརQBDLBHFcબ "TBLVTBHPQPOZP goreleaser/goreleaser Release engineering, simplified Go 14.6k 1.0k rivo/tview
Terminal UI library with rich, interactive widgets — written in Golang Go 12.0k 606 spf13/cobra A Commander for modern Go CLI interactions Go 40.5k 2.9k
ศརQBDLBHFcTQGDPCSB QBDLBHF໊TQGDPCSB⭐L ར༻ྫLVCFDUM HI LT FWBOT ֓ཁ (P$-*ΞϓϦέʔγϣϯͷͨ ΊͷڧྗͳϑϨʔϜϫʔΫ 5"#ิػೳ͋Γ
͕ܾ͜͜Ίख "TBLVTBHPQPOZP // cdCmd αϒίϚϯυͷఆٛ var cdCmd = &cobra.Command{ Use: "cd [directory]", Short: "shrt desc", Long: `Long Long description of the cd command.`, Args: cobra.MaximumNArgs(1), // TAB: ิ ValidArgsFunction: PathCompletionFunc, Run: func(cmd *cobra.Command, args []string) { // cdίϚϯυͷॲཧ var targetDir string currentDir := viper.GetString(currentDir) if currentDir == "" { currentDir = viper.GetString(homeDir) } // ৄࡉུলུ }, }
ศརQBDLBHFcSJWPUWJFX "TBLVTBHPQPOZP // vimίϚϯυͷίΞ෦ func runChatUITview() error { // ॳظԽ
app := tview.NewApplication() // νϟοτͷϝοηʔδཤྺදࣔϑΟʔϧυΛఆٛ textView := tview.NewTextView(). SetDynamicColors(true). SetRegions(true). SetWordWrap(true). SetScrollable(true). ScrollToEnd() // νϟοτͷϝοηʔδೖྗϑΟʔϧυΛఆٛ inputField := tview.NewInputField(). SetLabel(userName + " ❯❯ "). SetFieldWidth(0). SetAcceptanceFunc(tview.InputFieldMaxLength(256)) // textViewͱinputFieldͷϨΠΞτΛઃఆ flex := tview.NewFlex(). SetDirection(tview.FlexRow). AddItem(textView, 0, 1, false). AddItem(inputField, 1, 0, true) // ઃఆ QBDLBHF໊SJWPUWJFX⭐L ར༻ྫLT HI XUG ֓ཁ λʔϛφϧ্ͰϦονͳ6* 56* Λߏங͢ΔͨΊͷϥΠϒϥϦ ΠϯλϥΫςΟϒͳίϯιʔϧΞ ϓϦέʔγϣϯ։ൃʹ࠷ద
"TBLVTBHPQPOZP ศརQBDLBHFcSJWPUWJFX
ศརQBDLBHFcHPSFMFBTFS "TBLVTBHPQPOZP QBDLBHF໊HPSFMFBTFS⭐ L ֓ཁ ϓϩδΣΫτͷϦϦʔε࡞ۀΛࣗ ಈԽ͢Δπʔϧ (Pݴޠઐ༻Ͱͳ͘3VTU 5ZQF4DSJQU
1ZUIPOͳͲଟݴޠʹ ରԠ )PNFCSFXରԠʹ༻ goos: - linux - windows - darwin main: ./cli archives: - formats: [tar.gz] name_template: >- {{ .ProjectName }}_ {{- title .Os }}_ {{- if eq .Arch "amd64" }}x86_64 {{- else if eq .Arch "386" }}i386 {{- else }}{{ .Arch }}{{ end }} {{- if .Arm }}v{{ .Arm }}{{ end }} # use zip for windows archives format_overrides: - goos: windows formats: [zip] brews: - repository: owner: ponyo877 name: homebrew-tap token: "{{ .Env.TAP_GITHUB_TOKEN }}"
ศརQBDLBHFcHPSFMFBTFS "TBLVTBHPQPOZP - uses: actions/setup-go@v3 with: go-version-file: go.mod cache: true
- uses: goreleaser/goreleaser-action@v6 with: version: '~> v2' args: release --clean env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} TAP_GITHUB_TOKEN: ${{ secrets.TAP_GITHUB_TOKEN }} (JU)VC"DUJPOઃఆ
·ͱΊ (PͳΒαʔό$-*ಉ͡ݴޠͰ։ൃͰ͖Δ ศརͳ1BDLBHFΛ׆༻ͯ͠։ൃޮΛΞοϓ TQGDPCSB$-*ͷࠎ֨࡞ͱڧྗͳิػೳ SJWPUWJFXλʔϛφϧͰϦονͳ6*Λ࣮ݱ HPSFMFBTFS໘ͳϦϦʔε࡞ۀΛࣗಈԽ օ͞Μ(PͰշదͳπʔϧ։ൃϥΠϑΛʂ "TBLVTBHPQPOZP brew install
ponyo877/tap/chatsh