Several imported types from go-keychain undefined.
schicho opened this issue · comments
Johann Sebastian Schicho commented
Just tried to go get this and the following errors appeared:
$ go get github.com/hSATAC/wifi-password-qr
# github.com/hSATAC/wifi-password-qr
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:40:11: undefined: keychain.NewItem
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:41:20: undefined: keychain.SecClassGenericPassword
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:44:22: undefined: keychain.MatchLimitOne
go/pkg/mod/github.com/h!s!a!t!a!c/wifi-password-qr@v0.0.0-20200730130445-170bab06b68e/main.go:46:18: undefined: keychain.QueryItem
I am unsure on why this is happening.
Johann Sebastian Schicho commented
Seems like this is a problem trying to make it work on Linux. Although go-keychain claims to work with Linux.