mholt/curl-to-go
View on GitHub ↗ ★ 1,818 JavaScript
Convert curl commands to Go code in your browser
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2016-02-10 · latest 2022-03-11
20082026
-
Few other similar open source projects: 1. https://github.com/mholt/curl-to-go 2. https://github.com/incarnate/curl-to-php
comment by johnx123-up · 2022-03-11 · in Convert curl commands to code in several languages -
There is one for generating goalang code as well: https://github.com/mholt/curl-to-go Also, it does not depend on libcurl.
comment by innagadadavida · 2018-01-14 · in Microsoft cURLs too -
It's not that easy to parse this curl command. He needed 400 lines ( https://github.com/mholt/curl-to-go/blob/gh-pages/resources/... ). Most libraries out there do this job, but are focused on parsing from environment variables instead of…
comment by andersonmvd · 2016-02-10 · in Convert curl commands to Go code