-
Notifications
You must be signed in to change notification settings - Fork 29
Description
Cloned the sdk repo on a linux machine. Tried running the steps in the README and always end up with this error. This is a 'go run', but the same happened with 'go install', which only worked after a 'go mod init zping' and 'go mod tidy'.
Is this example just too old to be run with current version of go?
`formula349@dev1:~/zitiapps/sdk-golang/example/zping$ go run .
github.com/openziti/transport/v2/proxies
../../../../go/pkg/mod/github.com/openziti/transport/[email protected]/proxies/http_connect.go:60:20: pfxlog.Logger().WithError undefined (type pfxlog.Builder has no field or method WithError)
github.com/openziti/identity/engines/parsec
../../../../go/pkg/mod/github.com/openziti/[email protected]/engines/parsec/parsec_engine.go:21:18: undefined: pfxlog.ContextLogger
github.com/openziti/sdk-golang/ziti/edge/posture
../../../../go/pkg/mod/github.com/openziti/[email protected]/ziti/edge/posture/cache.go:119:26: cannot use err (variable of type []error) as string value in argument to pfxlog.Logger().Error
f`