diff --git a/examples/Build.sh b/examples/Build.sh index 58b7dc0..b51bd0f 100755 --- a/examples/Build.sh +++ b/examples/Build.sh @@ -1,11 +1,11 @@ #!/bin/sh -go get github.com/pborman/uuid +#go get github.com/pborman/uuid -for i in bstar mdapi flcliapi kvsimple kvmsg clone intface -do - go install github.com/pebbe/zmq4/examples/$i -done +#for i in bstar mdapi flcliapi kvsimple kvmsg clone intface +#do +# go install github.com/pebbe/zmq4/examples/$i +#done cd `dirname $0` diff --git a/examples/go.mod b/examples/go.mod new file mode 100644 index 0000000..7c33356 --- /dev/null +++ b/examples/go.mod @@ -0,0 +1,10 @@ +module github.com/pebbe/zmq4/examples + +go 1.16 + +replace github.com/pebbe/zmq4 => ../ + +require ( + github.com/pborman/uuid v1.2.1 + github.com/pebbe/zmq4 v0.0.0-00010101000000-000000000000 // indirect +) diff --git a/go.sum b/examples/go.sum similarity index 100% rename from go.sum rename to examples/go.sum diff --git a/go.mod b/go.mod index 6509713..730a2df 100644 --- a/go.mod +++ b/go.mod @@ -1,5 +1,3 @@ module github.com/pebbe/zmq4 go 1.16 - -require github.com/pborman/uuid v1.2.1