Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotAModuleDirectory = errors.New("the target is not a valid module directory") ErrInvalidModuleVersion = errors.New( "mismatch between the version used in the module filename, the version written in its info file, and GOPROXY encoding rules", ) ErrNothingToIndex = errors.New( "no module to index here, the directory was removed", ) )
Functions ¶
func Directory ¶
Directory indexes the given directory and writes the result into `written`. If the directory is not a valid module directory, it returns an error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.