README ¶ mod - Module support for Go/XGo This repository holds packages for writing tools that work directly with Go/XGo module mechanics. That is, it is for direct manipulation of Go/XGo 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 GOXMOD(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 GOXMOD ¶ added in v0.17.0 func GOXMOD(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 modcache modfetch modfile modload modtest sumfile xgomod Click to show internal directories. Click to hide internal directories.