nareix / curl

CURL-like library for golang
190 stars 50 forks source link

Golang idioms #6

Open cmiceli opened 9 years ago

cmiceli commented 9 years ago

Hi there,

All of the Request struct functions return a pointer to the Request even though it operates on a pointer. Basically, these functions should return nothing. If you wish I can send you a pull request which fixes this.

Thanks,

Chris.

nareix commented 9 years ago

Hello, the style is functional reactive programming, like gorequest did.

It's harmless.