Documentation ¶ Overview ¶ Package golang is a source for Go Index ¶ func NewSource(opts ...source.Option) source.Source type Source func (g *Source) Commit(r *source.Repository) error func (g *Source) Fetch(url string) (*source.Repository, error) func (g *Source) String() string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewSource ¶ func NewSource(opts ...source.Option) source.Source Types ¶ type Source ¶ type Source struct { Options source.Options // Go Command Cmd string Path string } func (*Source) Commit ¶ func (g *Source) Commit(r *source.Repository) error Commit is not yet supported func (*Source) Fetch ¶ func (g *Source) Fetch(url string) (*source.Repository, error) func (*Source) String ¶ func (g *Source) String() string Source Files ¶ View all Source files golang.go Click to show internal directories. Click to hide internal directories.