Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
よく使っているライブラリ&ツール紹介
Search
qushot
December 18, 2018
Programming
0
93
よく使っているライブラリ&ツール紹介
qushot
December 18, 2018
Tweet
Share
More Decks by qushot
See All by qushot
GAEアプリをCI/CDして結果をSlackに通知した話 / GAE App CICD Slack notification
qushot
0
1.1k
Other Decks in Programming
See All in Programming
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
310
野球解説AI Agentを開発してみた - 2026/02/27 LayerX社内LT会資料
shinyorke
PRO
0
350
Angular-Apps smarter machen mit Gen AI: Lokal und offlinefähig - Hands-on Workshop!
christianliebel
PRO
0
120
「やめとこ」がなくなった — 1月にZennを始めて22本書いた AI共創開発のリアル
atani14
0
400
ポーリング処理廃止によるイベント駆動アーキテクチャへの移行
seitarof
3
1.1k
ロボットのための工場に灯りは要らない
watany
11
3k
Understanding Apache Lucene - More than just full-text search
spinscale
0
130
Claude Codeセッション現状確認 2026福岡 / fukuoka-aicoding-00-beacon
monochromegane
4
440
PHPで TLSのプロトコルを実装してみる
higaki_program
0
240
What Spring Developers Should Know About Jakarta EE
ivargrimstad
0
440
new(1.26) ← これすき / kamakura.go #8
utgwkk
0
2.5k
Claude Code Skill入門
mayahoney
0
400
Featured
See All Featured
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
3.7k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
150
Darren the Foodie - Storyboard
khoart
PRO
3
2.9k
Agile that works and the tools we love
rasmusluckow
331
21k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
160
Redefining SEO in the New Era of Traffic Generation
szymonslowik
1
250
How to Ace a Technical Interview
jacobian
281
24k
Java REST API Framework Comparison - PWX 2021
mraible
34
9.2k
職位にかかわらず全員がリーダーシップを発揮するチーム作り / Building a team where everyone can demonstrate leadership regardless of position
madoxten
62
52k
DBのスキルで生き残る技術 - AI時代におけるテーブル設計の勘所
soudai
PRO
64
52k
Color Theory Basics | Prateek | Gurzu
gurzu
0
260
Primal Persuasion: How to Engage the Brain for Learning That Lasts
tmiket
0
290
Transcript
よく使っている ライブラリ&ツール紹介 2018/12/18 golang.tokyo#20
Google Cloud Platform プレミアパートナー 自己紹介 - 名前: 本 雄太朗(@qushot) -
所属: クラウドエース株式会社 - 業務: サーバサイド(GAE, GKE)をGoで開発 - Go歴: 1年くらい
開発環境 - Visual Studio Code + Go 拡張 - コマンドパレット(⌘+Shift+P)
→ Go: Install/Update Tools
ライブラリ&ツール - labstack/echo - google/uuid - go-playground/validator.v9 - swaggo/swag -
swaggo/echo-swagger
labstack/echo - 軽量Webアプリケーションフレームワーク - →起動時のバナー非表示 HideBanner = true ←これ
https://github.com/labstack/echo
google/uuid - Google製のUUID生成ライブラリ - →UUIDv4を生成 uuid.New() https://github.com/google/uuid
type Example struct { // OK: 1105530b-67ba-4173-994b-a6c09fcb9bef, NG: foobar UUID
string `validate:"uuid4"` // OK: 0 - 100, NG: -1, 101 Age int `validate:"min=0,max=100"` // OK: #ff00ff, NG: red, green Color string `validate:"hexcolor"` } go-playground/validator.v9 https://github.com/go-playground/validator
swaggo/swag // ShowAccount godoc // @Summary Show a account //
@Description get string by ID // @Accept json // @Produce json // @Param id path int true "Account ID" // @Success 200 {object} model.Account // @Failure 400 {object} controller.HTTPError // @Failure 404 {object} controller.HTTPError // @Failure 500 {object} controller.HTTPError // @Router /accounts/{id} [get] func (c *Controller) ShowAccount(ctx *gin.Context) { //something } https://github.com/swaggo/swag
func main() { e := echo.New() e.GET(“/swagger/*”, echoSwagger.WrapHandler) e.Logger.Fatal(e.Start(“:1323”)) }
http://localhost:1323/swagger/index.html にアクセス! swaggo/echo-swagger https://github.com/swaggo/echo-swagger
今後使ってみたいもの - mercari/datastore - nametake/labelerr - nametake/suberr
さいごに - 知ってるやつばかりだったらすみません!! - 便利なライブラリやツールがあったら教えてください!!