Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProjectAstFetcher ¶
type ProjectAstFetcher struct { }
func NewProjectAstFetcher ¶
func NewProjectAstFetcher() *ProjectAstFetcher
func (*ProjectAstFetcher) FindPublicMethods ¶
func (o *ProjectAstFetcher) FindPublicMethods(astPackage *packages.Package) []Method
FindPublicMethods will find all public methods (functions) in all packages that belongs to this component. Our main target is find methods like `books.NewRepository(db)`. this useful for checking gates [example: `db`], and verify that component `cmp` can depend on owner of `db`
Click to show internal directories.
Click to hide internal directories.