Versions in this module Expand all Collapse all v0 v0.4.1 Apr 12, 2020 v0.4.0 Mar 11, 2020 Changes in this version + type Cache struct + func NewCache(log *zap.Logger, root string) (*Cache, error) + func (c *Cache) Files() map[string]bool + func (c *Cache) FilesInPkg(pkg string) (map[string]bool, error) + func (c *Cache) ModulePath() string + func (c *Cache) Pkgs() map[string]bool + func (c *Cache) ReadFile(path string) ([]byte, error) + func (c *Cache) ReadGoFile(path string, loadFlags parser.Mode) (*ast.File, *token.FileSet, error) + func (c *Cache) Root() string + type ModuleInfo struct + Dir string + Path string