Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
func DefaultConfig ¶
func DefaultConfig() *Config
type Context ¶
type Context struct { Config *Config Cache *cache.Cache RootModFile *protomodfile.ProtoModFile RootModFilePath string RootModDir string }
func LoadContext ¶
LoadContext initialises a context from a proto.mod file in rootDir, or any of its parent directories. That proto.mod file describes the root module.
func (*Context) GetRootModule ¶
func (context *Context) GetRootModule() resolver.RootModule
func (*Context) ResolveIncludeDirs ¶
func (context *Context) ResolveIncludeDirs() (dirs []IncludeDir, err error)
type IncludeDir ¶
Click to show internal directories.
Click to hide internal directories.