Documentation ¶
Index ¶
- func CheckReadmes(basePath, readmeName string, excludeDirs []string) (bool, []string, error)
- func FindReadmes(basePath, readmeName string, excludeDirs []string) (map[string]string, error)
- func ReadmeMD(pkgName string, writer io.Writer) error
- func VerifyReadme(pkgName, readmePath string) (bool, error)
- func WriteReadme(pkgName, readmePath string) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckReadmes ¶
CheckReadmes checks that the readmes in basePath are up to date the first return value is a boolean indicating whether all readmes are up to date (false if any are outdated) the second return is the list of outdated readmes found
func FindReadmes ¶
FindReadmes finds all goreadme generated README.md files in basePath and child directories
returns a map of filepath:package
func VerifyReadme ¶
VerifyReadme checks that the file at readmePath has the correct content for pkgName
func WriteReadme ¶
WriteReadme writes a README.md for pkgname to the given path
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.