libgo

package
v0.0.0-...-aed8fdf Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2019 License: BSD-3-Clause, MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Copy

func Copy(src, dest string) error

Copy copies src to dest, doesn't matter if src is a directory or a file

func Main

func Main(ctx context.Context, options Options) error

Main converts a Go internal command line app to a library

Types

type Options

type Options struct {
	From         string // package path of command we need to extract - e.g. "cmd/compile"
	RootPath     string // package path of module root
	RootDir      string // dir of module root
	DisableTests map[string]map[string]bool
	Init         bool
	Tests        bool
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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