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
PHPerがGoに入門してみた/PHPer introduction to Go.
Search
Futoshi Endo
February 22, 2023
Programming
6.1k
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
PHPerがGoに入門してみた/PHPer introduction to Go.
Futoshi Endo
February 22, 2023
More Decks by Futoshi Endo
See All by Futoshi Endo
【PHPカンファレンス小田原2026】Webアプリケーションエンジニアにも知ってほしい オブザーバビリティ の本質
fendo181
0
1.7k
【PHPerKaigi2026】OpenTelemetry SDKを使ってPHPでAPMを自作する
fendo181
2
530
AI時代におけるドメイン駆動設計 入門 / Introduction to Domain-Driven Design in the AI Era
fendo181
0
1.5k
【PHPカンファレンス小田原2025】New RelicのAPMを活用したECサービスにおけるメール遅延解消の舞台裏
fendo181
1
4.5k
PHP8の機能を使って堅牢にコードを書く
fendo181
7
8.5k
Introduction to Typing Practice
fendo181
0
1.2k
PsySHを使った効率的なデバッグ方法について / How debug efficiently using PsySH
fendo181
1
2.7k
PHP8によるデザインパターン入門 / Introduction to Design Patterns with PHP8
fendo181
2
5k
Laravel.shibuyaで改善してきた IRT勉強会の運営方法について / IRT Study Session Improved Through Laravel Shibuya
fendo181
0
2.7k
Other Decks in Programming
See All in Programming
最近”作らせてる” ローカルAIアプリの話
akit37
0
430
Ghostty + Neovimで作る 透明でカッコ良い開発環境
j341nono
0
160
[ハンズオン]AIへの指示だけで「五目並べ」を作ってみよう
satoshi256kbyte
1
360
パーソナライズPodcastを作った話
repunit11
0
130
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
Are APIs Still Relevant in the AI Era?
soyuka
0
440
個人開発者よ、Honoを使え(おじさんver)
tanahiro2010
2
190
Kubernetes祭り #2 OP/ED
bells17
0
110
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
130
UnityでSystem.Net.WebSocketsなWebSocketサーバが動かないのでUnity Monoのコードを覗いてみた / about implementing websocket server with unity mono
drumath2237
1
570
なぜCTOを降りてFDEを選んだのか?〜なぜプロダクト企業がFDEで顧客の現場に踏み込むのか〜
gonta
1
180
Embedded Swiftで作る自作USBデバイス によるiOSデバイスの自動テスト / iOSDC Japan 2026 glassfiber
glassfiber
0
320
Featured
See All Featured
Claude Code のすすめ
schroneko
67
230k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
280
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
740
Noah Learner - AI + Me: how we built a GSC Bulk Export data pipeline
techseoconnect
PRO
0
450
Color Theory Basics | Prateek | Gurzu
gurzu
1
480
Docker and Python
trallard
47
4.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Facilitating Awesome Meetings
lara
57
7.2k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
860
Believing is Seeing
oripsolob
1
240
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
20k
Transcript
© 2012-2023 BASE, Inc. 2023/02/22 ハードル激低LT大会ッ! PHPerがGoに入門してみた
© 2012-2023 BASE, Inc. 2 氏名:Futoshi Endo 所属:BASE株式会社 入社:2023/01/04 ~
業務:バックエンド エンジニア 趣味:料理、音楽鑑賞、ゲーム PHP歴は5年、Go歴は1ヶ月程度です。 昔からブログを書いたり、Scrapboxで日記を 書いています。 • Endo Tech Blog • https://scrapbox.io/fendo181/ Fendo181 自己紹介
© 2012-2023 BASE, Inc. 3 自己紹介 (BASEに入社してから初リリースするまでに経験した事を紹介します)
© 2012-2023 BASE, Inc. 今日の本題 4 PHPerがGoに入門してみた
© 2012-2023 BASE, Inc. Goに入門しようと思ったきっかけ 5
© 2012-2023 BASE, Inc. Goに入門しようと思ったきっかけ 6 Goで書かれているライブラリを理解したい!
© 2012-2023 BASE, Inc. Goに入門しようと思ったきっかけ 7 • tbls is a
CI-Friendly tool for document a database, written in Go • コマンド1つでDatabaseのスキーマをドキュ メント化してくれる • 社内の「BASE BANK」チームでは導入事例が あり、自分が所属しているチームでも将来的 に導入を考えている ◦ tblsとGitHub Actionsを使ってDBマイグレー ションを含むPRには自動更新したER図を追加 する https://github.com/k1LoW/tbls
© 2012-2023 BASE, Inc. 8 https://github.com/k1LoW/tbls • Goで書かれている。 • 今の自分にとっては、処理がわからずブラッ
クボックスになってしまっている • ちゃんと、コードリーディングをして中身の 処理を把握したい Goに入門しようと思ったきっかけ
© 2012-2023 BASE, Inc. 9 https://github.com/k1LoW/tbls • Goで書かれている。 • 今の自分にとっては、処理がわからずブラッ
クボックスになってしまっている • ちゃんと、コードリーディングをして中身の 処理を把握したい • そうだ、Goを学ぼう Goに入門しようと思ったきっかけ
© 2012-2023 BASE, Inc. 今日お話する内容 1 2 Goの学習方法について まとめ 10
© 2012-2023 BASE, Inc. Goの学習方法について 11
© 2012-2023 BASE, Inc. Goの学習方法について 12 https://go-tour-jp.appspot.com/welcome/1
© 2012-2023 BASE, Inc. 13 Goの学習方法について • ブラウザだけで動作確認できる • 特にエディターを立ち上げる必要はない
• 基本的な文法から学べる • ちゃんと時間かけてやれば1週間程で全ての 項目が理解できる。(...と思っています)
© 2012-2023 BASE, Inc. 14 Goの学習方法について 書籍「テスト駆動開発」の付録Cに書いて あった写経方法を参考にGitHubにコミットを 積んでいる 1.ローカル環境で使えるバージョン管理システム(Git)を用意
2.書見台などで対処の本を固定 3.ひたすらサンプルコードを写して実行 4.実行する度にコミット(コミットログにページ番号を含める) 5.疑問があったらコミットログや本に書き込む。 6.章ごとにタグを打つ。 # git tag -a chap2 -m '第2章まで' # git push --tags origin
© 2012-2023 BASE, Inc. 15 Goの学習方法について https://github.com/Fendo181/go_practice/tree/master/A_Tour_of_Go/control
© 2012-2023 BASE, Inc. まとめ 16
© 2012-2023 BASE, Inc. 17 まとめ • Goを学ぶ方法について紹介しました • Goは機能が少ない分シンプルに書ける
• main関数に実行する処理がまとまっているので 上から順々に追っていけば良い(可読性が高い) • Goのライブラリを見る心理的ハードルが下がった! • 新しいプログラミング言語を学ぶのは楽しい!