curl-to-Go
Convert curl commands to Go code in your browser
curl-to-Go is a browser-based tool that converts curl commands into Go HTTP client code. It is especially useful when API documentation provides curl examples, but the developer needs equivalent Go code for an application or script. Users paste a curl command into the page, and the tool generates Go code that approximates the request, including method, URL, headers, body data, and basic authentication where supported.