gouick/helpers/dependencies/interface.go
2022-07-15 11:49:53 +00:00

15 lines
344 B
Go

package dependencies
// Dependency
type Dependency interface {
DescribeInstall(path string) string
GetBinaryPath() (string, error)
GetInstallDirectory() (string, error)
GetName() string
GetMinimumVersion() string
GetVersion() (string, error)
Install(path string) error
IsInstalled() (bool, error)
IsVersionSupported() (bool, error)
}