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
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
Transcript
11 slides
よく使っている ライブラリ&ツール紹介 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
さいごに - 知ってるやつばかりだったらすみません!! - 便利なライブラリやツールがあったら教えてください!!
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
どうしても Eloquent でリポジトリパターンをやりたいんだ #phpcon_niigata / phpcon-niigata-2026
shogogg
0
690
Compiling Your Language to WasmGC & Friends
tanishiking
0
190
How SRE Grew Out of Server-Side Work and Became the Team's Own / サーバサイドから始まったSREを チームに渡すまで
maaaato
1
260
AIエージェントの「テストは通るのに本番で壊れる」を減らす
shibuiwilliam
3
130
[Kotlin Fest 2026] eBPF Tracing for Kotlin
takehaya
1
410
Lean で手続き的プログラム の証明が書けるようになった
inoueasei
8
3.3k
RaspberryPi 5で軽くはじめるk3sとtailscaleを用いたホームサーバー構築 (1)
nasum
0
440
AI時代のIaC入門 〜なぜインフラをコードで管理したいのか?〜 / Introduction to IaC in the AI Era
akihisaikeda
6
1.6k
[DroidKnights 2026] Workflow AX: From Auto-Documented Policies to E2E Testing
raeminkang
0
610
flutter_test のその先へ — Flutter アプリの LLM 機能に「評価」という品質保証を
kosukesaigusa
0
210
マルチプロダクトSaaSの アプリ一覧を速くする——複数プロダクトにまたがる「権限行脚」を減らすまで #techramen26conf
mktakuya
1
240
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
340
Featured
See All Featured
Between Models and Reality
mayunak
4
610
Skip the Path - Find Your Career Trail
mkilby
1
300
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
970
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.3k
Exploring anti-patterns in Rails
aemeredith
4
580
Future Trends and Review - Lecture 12 - Web Technologies (1019888BNR)
signer
PRO
0
3.9k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
560
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
490
We Have a Design System, Now What?
morganepeng
55
8.4k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k