edgexfoundry / core-command-go

3 stars 10 forks source link

Unable to build #5

Closed chenchix closed 6 years ago

chenchix commented 6 years ago

AFter a git clone repository and glide install, go install is failing.

$ go install
# github.com/edgexfoundry/core-command-go
./StartCommand.go:51: not enough arguments in call to consulclient.CheckKeyValuePairs
    have (*ConfigurationStruct)
    want (interface {}, string, []string)
./device.go:29: not enough arguments in call to metadataclients.NewDeviceClient
    have ()
    want (string)
./device.go:38: d.IsLocked undefined (type models.Device has no field or method IsLocked)
./device.go:44: not enough arguments in call to metadataclients.NewCommandClient
    have ()
    want (string)
./device.go:53: undefined: issueCommand
./device.go:60: undefined: issueCommand
./device.go:68: not enough arguments in call to metadataclients.NewDeviceClient
    have ()
    want (string)
./device.go:69: assignment count mismatch: 2 = 1
./device.go:78: not enough arguments in call to metadataclients.NewDeviceClient
    have ()
    want (string)
./device.go:79: assignment count mismatch: 2 = 1
./device.go:79: too many errors