github.com/joey-fossa/fossa-cli@v0.7.34-0.20190708193710-569f1e8679f0/analyzers/golang/resolver/resolver.go (about)

     1  // Package resolver provides Go resolvers.
     2  package resolver
     3  
     4  import "github.com/fossas/fossa-cli/pkg"
     5  
     6  // Type is an enumeration of Resolver types. This helps clarify return
     7  // signatures for functions that return many strings.
     8  type Type string
     9  
    10  // A Resolver provides a single method for resolving the revision of a Go
    11  // package.
    12  type Resolver interface {
    13  	Resolve(importpath string) (pkg.Import, error)
    14  }