3 ms·
Also note that the Python example naturally has no exception handling, while Go "has to" handle the errors (enforced by convention and linters, you could always
by skrtskrt 5y ago
Also note that the Python example naturally has no exception handling, while Go "has to" handle the errors (enforced by convention and linters, you could always just throw them away)
also it's only one more line, but they didn't even bother to print the response
once you look at the fact that Go has to have `func main()` declared, the response printing, and the error handling, Go only has a couple more lines than Python