Comment

Comment by svnpenn

Random Go fact I learned recently: by default, HTTP requests automatically redirect. If you dont want that, you can do this instead:

    res, err := new(http.Transport).RoundTrip(req)
parent svnpenn 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton