Documentation
¶
Overview ¶
package patsy is a package helper utility. It allows the conversion of go package paths to filesystem directories and vice versa.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Cache ¶
type Cache struct {
// contains filtered or unexported fields
}
Cache supports patsy.Dir and patsy.Path, but cached so they can be used in tight loops without hammering the filesystem.
func (*Cache) FilePath ¶
FilePath converts a package path and filename to a full filepath:
github.com/dave/foo.go -> /Users/dave/go/src/github.com/dave/foo.go
Directories
¶
| Path | Synopsis |
|---|---|
|
package builder can be used in testing to create a temporary gopath, src, namespace and package directory, and populate it with source files.
|
package builder can be used in testing to create a temporary gopath, src, namespace and package directory, and populate it with source files. |
|
Package vos is a virtual os tool.
|
Package vos is a virtual os tool. |
Click to show internal directories.
Click to hide internal directories.