diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2018-08-22 18:32:11 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-08-22 18:32:11 -0700 |
commit | fd4baa91e7c127a29ee6d5f6ecf0fa149f6d9cec (patch) | |
tree | 3a049ef1ae3725e37f4701f6ff4f9ffad64f811b /examples | |
parent | 228530e2da79603450948d5d701fe4bb4e47c430 (diff) | |
parent | afe98de32a130e0033c9b10fa470bb2ff858ed8d (diff) | |
download | protobuf-fd4baa91e7c127a29ee6d5f6ecf0fa149f6d9cec.tar.gz protobuf-fd4baa91e7c127a29ee6d5f6ecf0fa149f6d9cec.tar.bz2 protobuf-fd4baa91e7c127a29ee6d5f6ecf0fa149f6d9cec.zip |
Merge pull request #5068 from xfxyjwf/links
Replace repo links.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/WORKSPACE | 8 | ||||
-rw-r--r-- | examples/add_person.go | 2 | ||||
-rw-r--r-- | examples/add_person_test.go | 2 | ||||
-rw-r--r-- | examples/list_people.go | 2 | ||||
-rw-r--r-- | examples/list_people_test.go | 2 |
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) { |