gotool

package module
v0.0.0-...-21df247 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2015 License: MIT Imports: 8 Imported by: 1

README

gotool

A library of some of the utility functions provided by (but not exported) by cmd/go

Documentation

Overview

Package gotool is a library of utility functions used to implement the standard "Go" tool provided as a convenience to developers who want to write tools with similar semantics.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImportPaths

func ImportPaths(args []string) []string

ImportPaths returns the import paths to use for the given arguments. The path "all" is expanded to all packages in $GOPATH and $GOROOT. The path "std" is expanded to all packages in the Go standard library. The string "..." is treated as a wildcard within a path.

func SetContext

func SetContext(context build.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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