github.com/tooploox/oya@v0.0.21-0.20230524103240-1cda1861aad6/pkg/project/deps.go (about)

     1  package project
     2  
     3  import (
     4  	"github.com/tooploox/oya/pkg/oyafile"
     5  	"github.com/tooploox/oya/pkg/pack"
     6  	"github.com/tooploox/oya/pkg/types"
     7  )
     8  
     9  type Deps interface {
    10  	Load(importPath types.ImportPath) (*oyafile.Oyafile, bool, error)
    11  	Find(importPath types.ImportPath) (pack.Pack, bool, error)
    12  	ForEach(f func(pack.Pack) error) error
    13  	Explode() error
    14  }