README ¶ mod - Module support for Go/Go+ This repository holds packages for writing tools that work directly with Go/Go+ module mechanics. That is, it is for direct manipulation of Go/Go+ modules themselves. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables func FindGoMod(dirFrom string) (dir, file string, err error) func GOMOD(dirFrom string) (file string, err error) func GOPMOD(dirFrom string) (file string, err error) Constants ¶ This section is empty. Variables ¶ View Source var ( ErrNotFound = syscall.ENOENT ) Functions ¶ func FindGoMod ¶ added in v0.12.0 func FindGoMod(dirFrom string) (dir, file string, err error) func GOMOD ¶ func GOMOD(dirFrom string) (file string, err error) func GOPMOD ¶ func GOPMOD(dirFrom string) (file string, err error) Types ¶ This section is empty. Source Files ¶ View all Source files mod.go Directories ¶ Show internal Expand all Path Synopsis env gopmod modcache modfetch modfile modload modtest sumfile Click to show internal directories. Click to hide internal directories.