- API documentation is available via godoc.
To install Git package, you need to install Go and set your Go workspace first.
1 - The first need Go installed (version 1.13+ is required). Then you can use the below Go command to install Git
$ go get -u github.com/dotWicho/git
And then Import it in your code:
package main
import "github.com/dotWicho/git"
Or
2 - Use as module in you project (go.mod file):
module myclient
go 1.13
require (
github.com/dotWicho/git v1.0.0
)