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
はてなインターン2020成果発表 peaceiris
Search
Shohei Ueda
September 11, 2020
Programming
0
1.2k
はてなインターン2020成果発表 peaceiris
peaceiris のはてなインターン2020成果発表資料
Shohei Ueda
September 11, 2020
Tweet
Share
More Decks by Shohei Ueda
See All by Shohei Ueda
ABEMA 画像配信基盤における Cloudflare Workers の活用
peaceiris
9
1k
TypeScript Custom GitHub Action Development Tips
peaceiris
5
1.4k
Monorepo for Cloudflare Workers
peaceiris
0
910
Other Decks in Programming
See All in Programming
Jakarta EE meets AI
ivargrimstad
0
300
『GO』アプリ データ基盤のログ収集システムコスト削減
mot_techtalk
0
150
Datadog Workflow Automation で圧倒的価値提供
showwin
1
160
Formの複雑さに立ち向かう
bmthd
1
930
未経験でSRE、はじめました! 組織を支える役割と軌跡
curekoshimizu
1
140
生成AIで加速するテスト実装 - ロリポップ for Gamersの事例と 生成AIエディタの活用
kinosuke01
0
110
Rubyで始める関数型ドメインモデリング
shogo_tksk
0
140
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
170
2025.2.14_Developers Summit 2025_登壇資料
0101unite
0
180
Honoをフロントエンドで使う 3つのやり方
yusukebe
7
3.5k
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
17
3.9k
From the Wild into the Clouds - Laravel Meetup Talk
neverything
0
130
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
9.3k
Docker and Python
trallard
44
3.3k
Mobile First: as difficult as doing things right
swwweet
223
9.4k
Optimizing for Happiness
mojombo
376
70k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
510
The Pragmatic Product Professional
lauravandoore
32
6.4k
What's in a price? How to price your products and services
michaelherold
244
12k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
VelocityConf: Rendering Performance Case Studies
addyosmani
328
24k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
33
2.8k
Raft: Consensus for Rubyists
vanstee
137
6.8k
The Cost Of JavaScript in 2023
addyosmani
47
7.4k
Transcript
Hatena Intern 2020 成果発表 id:peaceiris pyto86 部屋 2020-09-11 id:peaceiris 1
Markdown 記法の実装 • ⾒出し • リンク • リスト goldmark の採⽤により
CommonMark に準拠した Markdown 記法を利⽤可能 2020-09-11 id:peaceiris 2
独⾃記法の実装 – 絵⽂字 2020-09-11 id:peaceiris 3 :smile: goldmark extension を採⽤
Title 取得 Fetcher サービスの実装 • URL から <title> の content
を 取得する Fetcher サービスを新規 実装 • Title が空である時、Renderer か ら Fetcher を呼び出し、取得した Title は goldmark に渡す 2020-09-11 id:peaceiris 4
発展: OGP 画像取得サービス 2020-09-11 id:peaceiris 5
発展: OGP 画像取得するサービス • Go Template 独⾃関数を定義 • Markdown に対して
template 処 理を先に実⾏する • 独⾃関数は Markdown 記法を出 ⼒する • moldmark に Markdown を渡す 2020-09-11 id:peaceiris 6
テストの話 GitHub Actions jobs.<job>.strategy.matrix Mock 外部依存をなくし、異常系も網羅す るようにテストケースを構成 相談しながらだと⼀⼈で考え続ける よりも問題解決しやすい 2020-09-11
id:peaceiris 7
Thank you! id:peaceiris 2020-09-11 id:peaceiris 8