Show HN: Go-promise – Golang's style to handle promises/error in JavaScript
github.com
github.com
I notice how Golang handle errors. The error is returned in the same line of code. We handle it, then move on to the next problem. That makes the code easier to read and is more convenient to handle error.
So I make this tiny `go-promise` util library to handle promise better in JavaScript. Feedback are welcome!