Documentation ¶ Index ¶ Constants type CloneOptions type Git func NewClient() (*Git, error) func (g *Git) Clone(ctx context.Context, opts *CloneOptions) error func (g *Git) Run(subcmd string, args ...string) error type Gitter Constants ¶ View Source const ( CloneCmd = "clone" ) Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type CloneOptions ¶ type CloneOptions struct { URL string Destination string } type Git ¶ type Git struct { } func NewClient ¶ func NewClient() (*Git, error) func (*Git) Clone ¶ func (g *Git) Clone(ctx context.Context, opts *CloneOptions) error func (*Git) Run ¶ func (g *Git) Run(subcmd string, args ...string) error type Gitter ¶ type Gitter interface { Clone(context.Context, *CloneOptions) error } Source Files ¶ View all Source files clone.gogit.gogitter.go Click to show internal directories. Click to hide internal directories.