aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorFeng Xiao <xfxyjwf@gmail.com>2018-08-22 11:55:30 -0700
committerFeng Xiao <xfxyjwf@gmail.com>2018-08-22 11:55:30 -0700
commitafe98de32a130e0033c9b10fa470bb2ff858ed8d (patch)
tree3a049ef1ae3725e37f4701f6ff4f9ffad64f811b /examples
parent228530e2da79603450948d5d701fe4bb4e47c430 (diff)
downloadprotobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.tar.gz
protobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.tar.bz2
protobuf-afe98de32a130e0033c9b10fa470bb2ff858ed8d.zip
Replace repo links.
Diffstat (limited to 'examples')
-rw-r--r--examples/WORKSPACE8
-rw-r--r--examples/add_person.go2
-rw-r--r--examples/add_person_test.go2
-rw-r--r--examples/list_people.go2
-rw-r--r--examples/list_people_test.go2
5 files changed, 8 insertions, 8 deletions
diff --git a/examples/WORKSPACE b/examples/WORKSPACE
index 153a5932..5884354a 100644
--- a/examples/WORKSPACE
+++ b/examples/WORKSPACE
@@ -3,7 +3,7 @@
http_archive(
name = "com_google_protobuf",
strip_prefix = "protobuf-master",
- urls = ["https://github.com/google/protobuf/archive/master.zip"],
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
)
# This com_google_protobuf_cc repository is required for cc_proto_library
@@ -13,14 +13,14 @@ http_archive(
http_archive(
name = "com_google_protobuf_cc",
strip_prefix = "protobuf-master",
- urls = ["https://github.com/google/protobuf/archive/master.zip"],
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
)
# Similar to com_google_protobuf_cc but for Java (i.e., java_proto_library).
http_archive(
name = "com_google_protobuf_java",
strip_prefix = "protobuf-master",
- urls = ["https://github.com/google/protobuf/archive/master.zip"],
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/master.zip"],
)
# Similar to com_google_protobuf_cc but for Java lite. If you are building
@@ -29,7 +29,7 @@ http_archive(
http_archive(
name = "com_google_protobuf_javalite",
strip_prefix = "protobuf-javalite",
- urls = ["https://github.com/google/protobuf/archive/javalite.zip"],
+ urls = ["https://github.com/protocolbuffers/protobuf/archive/javalite.zip"],
)
http_archive(
diff --git a/examples/add_person.go b/examples/add_person.go
index 4f2e7f74..7ffb0ab0 100644
--- a/examples/add_person.go
+++ b/examples/add_person.go
@@ -10,7 +10,7 @@ import (
"strings"
"github.com/golang/protobuf/proto"
- pb "github.com/google/protobuf/examples/tutorial"
+ pb "github.com/protocolbuffers/protobuf/examples/tutorial"
)
func promptForAddress(r io.Reader) (*pb.Person, error) {
diff --git a/examples/add_person_test.go b/examples/add_person_test.go
index f8ba9338..d35f10ec 100644
--- a/examples/add_person_test.go
+++ b/examples/add_person_test.go
@@ -5,7 +5,7 @@ import (
"testing"
"github.com/golang/protobuf/proto"
- pb "github.com/google/protobuf/examples/tutorial"
+ pb "github.com/protocolbuffers/protobuf/examples/tutorial"
)
func TestPromptForAddressReturnsAddress(t *testing.T) {
diff --git a/examples/list_people.go b/examples/list_people.go
index 70bc589e..6c2c34ac 100644
--- a/examples/list_people.go
+++ b/examples/list_people.go
@@ -8,7 +8,7 @@ import (
"os"
"github.com/golang/protobuf/proto"
- pb "github.com/google/protobuf/examples/tutorial"
+ pb "github.com/protocolbuffers/protobuf/examples/tutorial"
)
func writePerson(w io.Writer, p *pb.Person) {
diff --git a/examples/list_people_test.go b/examples/list_people_test.go
index 887997fe..64ea4278 100644
--- a/examples/list_people_test.go
+++ b/examples/list_people_test.go
@@ -5,7 +5,7 @@ import (
"strings"
"testing"
- pb "github.com/google/protobuf/examples/tutorial"
+ pb "github.com/protocolbuffers/protobuf/examples/tutorial"
)
func TestWritePersonWritesPerson(t *testing.T) {