Documentation ¶
Index ¶
- func CheckErrorsWithExit(errs []error)
- func GetAllOKFilesInPath(dir string, includeTests bool) ([]string, error)
- func IsPublic(funcName string) bool
- func PackageNameFromPath(baseDir, packagePath string) string
- func Render(f io.Writer, x interface{}, indent string, vmPackage bool)
- func StringSliceMap(ss []string, fn func(string) string) []string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckErrorsWithExit ¶ added in v0.13.1
func CheckErrorsWithExit(errs []error)
CheckErrorsWithExit is used in several places to bail out after a compilation that contains failures.
func GetAllOKFilesInPath ¶
GetAllOKFilesInPath non-recursively returns a list of OK files.
func PackageNameFromPath ¶ added in v0.14.2
PackageNameFromPath returns the full package name from a path compared to its base directory.
The baseDir and packagePath may be relative or absolute. If baseDir is empty, then the current working directory is used.
Types ¶
This section is empty.
Source Files ¶
Click to show internal directories.
Click to hide internal directories.