add analyzer interface/controller and supporting package/catalog

This commit is contained in:
Alex Goodman
2020-05-13 10:13:48 -04:00
parent 11b2b1ab45
commit cb6555491c
7 changed files with 91 additions and 1 deletions
+2
View File
@@ -10,6 +10,7 @@ import (
type Scope struct {
Option Option
Trees []*tree.FileTree
Image *image.Image
}
func NewScope(img *image.Image, option Option) (Scope, error) {
@@ -40,5 +41,6 @@ func NewScope(img *image.Image, option Option) (Scope, error) {
return Scope{
Option: option,
Trees: trees,
Image: img,
}, nil
}