Although A Tour of Go mentions when to use a pointer receiver over a value receiver and many people share their opinions, I've been confused about it since I started learning Go. It may includes some
- 2026/8/2I don't know when to use a pointer or value receiver
- 2026/8/1GraphQL handles an HTTP POST request
Today, I've been doing the gqlgen tutorial. During the tutorial, I found that a GraphQL server receives an HTTP POST request, even for queries. After a minute, I understood that it makes sense because
- 2026/8/1Walking at 4 AM
At 4 AM, it's quiet around the park near my apartment, and no one has started their day except for newspaper deliverers and bus drivers. I feel close to them. It's my favorite time of day.
- 2026/7/31A penguin on the wall
A month ago, I recognized a penguin on the wall in my room. It looks like this: A penguin on the wall After that, he has been living in my mind, and I can't forget about him.
- 2026/7/28Cloudflare image optimization and srcset attribute of the <img /> tag
I set up image transformation for my blog using Cloudflare's image optimization. This feature transforms images on a CDN server and serves lighter images. During introduction, I needed to consider whe
- 2026/7/28My strategy for finding birds
Sometimes, I look for birds while walking around and I bought a pair of binoculars for that. Birds live everywhere, but it's pretty hard for me to find them. Therefore, I keep in mind two things when
- 2026/7/24How to verify two types are equal in Vitest
I wrote a blog post about implementing utility types by ourselves. To check if the two types are the same, the expectTypeOf API in Vitest is very convenient. // In utility-type.test-d.ts import { desc
- 2026/7/23Practicing implementing utility types
TypeScript provides a lot of utility types. These are not only convenient but also teach us TypeScript syntax. For example, Pick is used to create a type that selects specific properties from a type o
- 2026/7/21Why rebuilding my blog
Now, I'm rebuilding my blog with Svelte including some design changes. I have two reasons: To have a place to post what's on my mind roughlyTo learn a new programming language or framework, and how to