Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ClearCache ¶ added in v0.11.0
func ClearCache()
Types ¶
type Info ¶
Info represents details about the directory/package
func Package ¶
Package attempts to gather info for the requested package.
From the `go help list` docs:
The -find flag causes list to identify the named packages but not resolve their dependencies: the Imports and Deps lists will be empty.
A workaround for this issue is to use the `Dir` field in the returned `Info` value and pass it to the `Dir(string) (Info, error)` function to return the complete data.
func (Info) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.