Skip to content

stankovic-marko/gocurlexecutor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gocurlexecutor

gocurlexecutor is a Go package that provides functionality to parse and execute curl commands.

Installation

go get github.com/stankovic-marko/gocurlexecutor

Usage

package main

import (
	"github.com/stankovic-marko/gocurlexecutor"
)

func main() {
	response, err := gocurlexecutor.Execute("curl -X GET https://github.com/stankovic-marko")
}

Supported curl options

Option Description Support
-X Method
-H Header
-d Data
-b Cookie data
-x Proxy

About

gocurlexecutor is a Go package that provides functionality to parse and execute curl commands.

Resources

License

Stars

Watchers

Forks

Contributors

Languages