开发者

Are there libCURL bindings for the Go language

I have searched web for libCURL bindings for Go language, but failed to find any... I also checked curl.haxx.se list of bindings with 开发者_如何学Gono success for Go. Are there any such project on net?

If such binding don't exists are where any alternative libraries or maybe you could provide some hints how I could implement my own bindings of libCURL?

Thanks


I found Cgo utility: "Cgo enables the creation of Go packages that call C code". I will try to create my wrapper of libCURL for Go.

UPDATED:

Created github repository gocurl. Initial version of Easy interface, not working yet. But it's a start :)

UPDATED 2:

Found better implementation go-curl


I tend to just use http.Client which does enough stuff for me not to need Curl:

http://golang.org/pkg/http/#Client

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜