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
よく使っているライブラリ&ツール紹介
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
qushot
December 18, 2018
Programming
100
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
よく使っているライブラリ&ツール紹介
qushot
December 18, 2018
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
Webの地図
yosuke_furukawa
PRO
6
4.4k
Can LLMs Replicate 4 Years of Compose Migration? Exploring the boundaries of automation with 279 XML files from a real product
makun
0
140
LL言語やWebフレームワークのPostgreSQL対応 〜DBの機能がユーザーに届くまで〜
kentaroutakeda
1
150
App Storeの外へ──日本のiOSサイドローディング入門 for iOSDC Japan 2026
yuukiw00w
0
200
DroidKaigi 2026 「個人開発という実験場: Android エンジニアが手にする4つの自由」
slashnephy
0
230
Claude Codeを組織的に動かして月400PRを実現した話
happy_ryo
0
270
新卒PdEのリアル
ryu1013
1
490
スマート反転とウェブアクセシビリティ
camiha
0
200
VueプロジェクトをTypeScript7に対応させる- Side-by-Side戦略による一部高速化 -
koukimiura
0
110
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
710
iOSDC2026登壇資料.pdf
riofujimon
0
150
Security issues being discussed on Web Platforms
petamoriken
0
890
Featured
See All Featured
A Soul's Torment
seathinner
7
3.6k
Speed Design
sergeychernyshev
33
2.1k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
Odyssey Design
rkendrick25
PRO
2
800
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
GraphQLの誤解/rethinking-graphql
sonatard
75
12k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.3k
Amusing Abliteration
ianozsvald
1
300
Un-Boring Meetings
codingconduct
0
420
Designing for Timeless Needs
cassininazir
1
470
Ecommerce SEO: The Keys for Success Now & Beyond - #SERPConf2024
aleyda
1
2.1k
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
さいごに - 知ってるやつばかりだったらすみません!! - 便利なライブラリやツールがあったら教えてください!!