go-micro: github.com/micro/go-micro/runtime/local/source/git Index | Files

package git

import "github.com/micro/go-micro/runtime/local/source/git"

Package git provides a git source

Index

Package Files

git.go

type Source Uses

type Source struct {
    Options source.Options
}

Source retrieves source code An empty struct can be used

func NewSource Uses

func NewSource(opts ...source.Option) *Source

func (*Source) Commit Uses

func (g *Source) Commit(r *source.Repository) error

func (*Source) Fetch Uses

func (g *Source) Fetch(url string) (*source.Repository, error)

func (*Source) String Uses

func (g *Source) String() string

Package git imports 5 packages (graph). Updated 2020-02-22. Refresh now. Tools for package owners.