Skip to content

Commit

Permalink
added ./examples/go.mod ; removed external dependency from ./go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
pebbe committed Mar 24, 2021
1 parent 716f2a2 commit 2e4d126
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 7 deletions.
10 changes: 5 additions & 5 deletions examples/Build.sh
Original file line number Diff line number Diff line change
@@ -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`

Expand Down
10 changes: 10 additions & 0 deletions examples/go.mod
Original file line number Diff line number Diff line change
@@ -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
)
File renamed without changes.
2 changes: 0 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
module github.com/pebbe/zmq4

go 1.16

require github.com/pborman/uuid v1.2.1

0 comments on commit 2e4d126

Please sign in to comment.