2 ms·
doesn't go stdlib contain an http server library "that you are supposed to use in prod"?
by dnautics 6y ago
doesn't go stdlib contain an http server library "that you are supposed to use in prod"?
- andreygrehov 6y agoIt does. It's rock solid and most people use it in production. But the parent is more concerned about quick and handy functions. IMHO, such functionality is usually part of third-party libraries and is certainly an option in Go. It's just idiomatic Go favors KISS principles, less external dependancies and a more self-contained software. The benefit is that pretty much all the Go source code is more-or-less identical, regardless of an author. It makes it super simple to understand and deep dive into a random complex piece of software. Go is not about abstractions, Go is about solving problems here and now.