Documentation
¶
Overview ¶
Package fileutils exposes utilities to deal with files and paths.
Currently, there is:
- File to represent an abstraction of an uploaded file. For instance, this is used by github.com/go-openapi/runtime.File.
- path search utilities (e.g. finding packages in the GO search path)
Index ¶
Constants ¶
View Source
const GOPATHKey = "GOPATH"
GOPATHKey represents the env key for gopath
Variables ¶
This section is empty.
Functions ¶
func FindInGoSearchPath ¶
FindInGoSearchPath finds a package in the $GOPATH:$GOROOT
func FindInSearchPath ¶
FindInSearchPath finds a package in a provided lists of paths
func FullGoSearchPath ¶
func FullGoSearchPath() string
FullGoSearchPath gets the search paths for finding packages
Types ¶
Click to show internal directories.
Click to hide internal directories.