Comment

Comment by 38

instead of this:

    t.Buf = []byte{}
you can just do:

    t.Buf = nil
parent 38 1 year ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton