gopcua / opcua

Native Go OPC-UA library
MIT License
856 stars 259 forks source link

Get rid of dependencies #723

Closed michelseiler closed 3 months ago

michelseiler commented 5 months ago

It would be nice if this package reduce the dependencies.

Package github.com/pkg/errors is used in errors/errors.go:

Package golang.org/x/exp is used in client_sub.go and debug/debug.go for slices:

michelseiler commented 3 months ago

Thanks! Should i write another issue for the golang.org/x/exp package since this is not resolved by PR https://github.com/gopcua/opcua/pull/731?

kung-foo commented 3 months ago

As I wrote (just now) in https://github.com/gopcua/opcua/pull/721, we are going to hold at Go 1.20 due to compatibility issues which means the slices.Contains generic function isn't available.

michelseiler commented 3 months ago

Thanks for the clarification