Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[paho-dev] Updating Go client external dependancies

Hello,

can we update external dependencies imports in Go client library?
"git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.golang.git" uses two external imports which already moved from code.google.com:

- "code.google.com/p/go.net/websocket" moved to "golang.org/x/net/websocket"

- "code.google.com/p/go-uuid/uuid" moved to "github.com/pborman/uuid"

"go get" command works now but "gb vendor fetch" failed on websocket packet. What will happen after closing code.google.com I don't know.
For updating, we need to replace one line for websocket import in net.go file and run small script for go-uuid package:
find . -name "*.go" -type f -exec sed -i 's/code.google.com\/p\/go-uuid/github.com\/pborman/g' {} \;

Regards
Andrey

Back to the top