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
へんな働き方
yusukebe
4
2.4k
20260315 AWSなんもわからん🥲
chiilog
2
160
安いハードウェアでVulkan
fadis
0
460
Codex の「自走力」を高める
yorifuji
0
1.2k
脱 雰囲気実装!AgentCoreを良い感じにWEBアプリケーションに組み込むために
takuyay0ne
3
290
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
650
Codexに役割を持たせる 他のAIエージェントと組み合わせる実務Tips
o8n
4
1.4k
AI時代のシステム設計:ドメインモデルで変更しやすさを守る設計戦略
masuda220
PRO
5
1.1k
AI駆動開発の本音 〜Claude Code並列開発で見えたエンジニアの新しい役割〜
hisuzuya
4
520
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
ふつうの Rubyist、ちいさなデバイス、大きな一年
bash0c7
0
1k
SourceGeneratorのマーカー属性問題について
htkym
0
200
Featured
See All Featured
Done Done
chrislema
186
16k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
980
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Evolving SEO for Evolving Search Engines
ryanjones
0
160
The Director’s Chair: Orchestrating AI for Truly Effective Learning
tmiket
1
130
Raft: Consensus for Rubyists
vanstee
141
7.4k
Speed Design
sergeychernyshev
33
1.6k
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
980
Skip the Path - Find Your Career Trail
mkilby
1
84
What does AI have to do with Human Rights?
axbom
PRO
1
2k
Test your architecture with Archunit
thirion
1
2.2k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
9.9k
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
さいごに - 知ってるやつばかりだったらすみません!! - 便利なライブラリやツールがあったら教えてください!!