Help us shape the future of Go! Take the 2026 Go Developer Survey

golang

package
v3.10.13 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package golang is a source for Go

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL