mains

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2019 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package mains returns absolute file paths to the packages that are "main" packages, from the list of packages given. The list of packages can include relative paths, the special "..." Go keyword, etc.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(packages ...string) (mains []string, err error)

Find mains in a variety of ways returning an array of absolute paths.

Mostly based on: https://github.com/mitchellh/gox/blob/c9740af9c6574448fd48eb30a71f964014c7a837/go.go#L123

Types

This section is empty.

Jump to

Keyboard shortcuts

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