Skip to content

Commit 8bbbbfe

Browse files
committed
update writing
1 parent 34d34b1 commit 8bbbbfe

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

src/content/writings/moving-from-echo-to-net-http.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,13 @@ func (f HandlerFunc) ServeHTTP(w ResponseWriter, r *Request) {
143143
}
144144
```
145145

146-
## Future work
146+
## Future learnings
147147

148148
I would like to spend more time reading the internal code of this package as there is so much thing to learn. Understand even just the logic of the multiplexer is a wonderful achievement for me :)
149149

150+
## Resources
151+
152+
I myself should read these articles:
153+
- https://blog.cloudflare.com/the-complete-guide-to-golang-net-http-timeouts/
154+
- https://blog.birdor.com/go-net-http-internals-deep-dive/
155+
- https://deepwiki.com/cloudflare/go/5.1-http-client-and-server

src/pages/index.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ const { paginatedItems, totalPages } = paginate(
2727
<>
2828
<PostPreview
2929
slug={writing.id}
30-
title={(writing.data.isDraft ? "[Draft] " : "") + writing.data.title}
30+
title={(writing.data.isDraft ? "[wip] " : "") + writing.data.title}
3131
date={writing.data.date}
3232
time={writing.data.time}
3333
desc={writing.data.description}

src/pages/writings/pages/[page].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ if (currentPage < 1 || currentPage > totalPages) {
4040
<>
4141
<PostPreview
4242
slug={writing.id}
43-
title={(writing.data.isDraft ? "[Draft] " : "") + writing.data.title}
43+
title={(writing.data.isDraft ? "[wip] " : "") + writing.data.title}
4444
date={writing.data.date}
4545
time={writing.data.time}
4646
desc={writing.data.description}

0 commit comments

Comments
 (0)