Skip to content

Commit 558f13f

Browse files
committed
Update URLs and import paths to new GitHub home.
1 parent 73c63d2 commit 558f13f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+85
-93
lines changed

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Go support for Protocol Buffers - Google's data interchange format
22

33
Copyright 2010 The Go Authors. All rights reserved.
4-
http://code.google.com/p/goprotobuf/
4+
https://github.com/golang/protobuf
55

66
Redistribution and use in source and binary forms, with or without
77
modification, are permitted provided that the following conditions are

Make.protobuf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Go support for Protocol Buffers - Google's data interchange format
22
#
33
# Copyright 2010 The Go Authors. All rights reserved.
4-
# http://code.google.com/p/goprotobuf/
4+
# https://github.com/golang/protobuf
55
#
66
# Redistribution and use in source and binary forms, with or without
77
# modification, are permitted provided that the following conditions are
@@ -33,7 +33,7 @@
3333
# (Google protocol buffer descriptions).
3434
# Typical use if myproto.proto is a file in package mypackage in this directory:
3535
#
36-
# include $(GOROOT)/src/pkg/code.google.com/p/goprotobuf/Make.protobuf
36+
# include $(GOROOT)/src/pkg/github.com/golang/protobuf/Make.protobuf
3737

3838
%.pb.go: %.proto
3939
protoc --go_out=. $<

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Go support for Protocol Buffers - Google's data interchange format
22
#
33
# Copyright 2010 The Go Authors. All rights reserved.
4-
# http://code.google.com/p/goprotobuf/
4+
# https://github.com/golang/protobuf
55
#
66
# Redistribution and use in source and binary forms, with or without
77
# modification, are permitted provided that the following conditions are

README

Lines changed: 5 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Go support for Protocol Buffers - Google's data interchange format
22
Copyright 2010 The Go Authors.
3-
http://code.google.com/p/goprotobuf/
3+
https://github.com/golang/protobuf
44

5-
This package and the code it generates requires at least Go 1.1.
5+
This package and the code it generates requires at least Go 1.2.
66

77
This software implements Go bindings for protocol buffers. For
88
information about protocol buffers themselves, see
@@ -33,7 +33,7 @@ To install this code:
3333
The simplest way is to run go get.
3434

3535
# Grab the code from the repository and install the proto package.
36-
go get -u code.google.com/p/goprotobuf/{proto,protoc-gen-go}
36+
go get -u github.com/golang/protobuf/{proto,protoc-gen-go}
3737

3838
The compiler plugin, protoc-gen-go, will be installed in $GOBIN,
3939
defaulting to $GOPATH/bin. It must be in your $PATH for the protocol
@@ -51,14 +51,6 @@ parameter set to the directory you want to output the Go code to.
5151
The generated files will be suffixed .pb.go. See the Test code below
5252
for an example using such a file.
5353

54-
This repository uses the same code review mechanism as Go, so
55-
if you wish to submit changes add the equivalent of these two lines
56-
to $GOROOT/src/pkg/code.google.com/p/goprotobuf/.hg/hgrc
57-
58-
[extensions]
59-
codereview = $GOROOT/lib/codereview/codereview.py
60-
61-
*where $GOROOT is the expanded text, such as /usr/foo/go*.
6254

6355
The package comment for the proto library contains text describing
6456
the interface provided in Go for protocol buffers. Here is an edited
@@ -131,7 +123,7 @@ Makefile like this:
131123
other.go
132124

133125
include $(GOROOT)/src/Make.pkg
134-
include $(GOROOT)/src/pkg/code.google.com/p/goprotobuf/Make.protobuf
126+
include $(GOROOT)/src/pkg/github.com/golang/protobuf/Make.protobuf
135127

136128

137129
To create and play with a Test object from the example package,
@@ -141,7 +133,7 @@ To create and play with a Test object from the example package,
141133
import (
142134
"log"
143135

144-
"code.google.com/p/goprotobuf/proto"
136+
"github.com/golang/protobuf/proto"
145137
"path/to/example"
146138
)
147139

proto/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Go support for Protocol Buffers - Google's data interchange format
22
#
33
# Copyright 2010 The Go Authors. All rights reserved.
4-
# http://code.google.com/p/goprotobuf/
4+
# https://github.com/golang/protobuf
55
#
66
# Redistribution and use in source and binary forms, with or without
77
# modification, are permitted provided that the following conditions are

proto/all_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Go support for Protocol Buffers - Google's data interchange format
22
//
33
// Copyright 2010 The Go Authors. All rights reserved.
4-
// http://code.google.com/p/goprotobuf/
4+
// https://github.com/golang/protobuf
55
//
66
// Redistribution and use in source and binary forms, with or without
77
// modification, are permitted provided that the following conditions are
@@ -45,7 +45,7 @@ import (
4545
"time"
4646

4747
. "./testdata"
48-
. "code.google.com/p/goprotobuf/proto"
48+
. "github.com/golang/protobuf/proto"
4949
)
5050

5151
var globalO *Buffer

proto/clone.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Go support for Protocol Buffers - Google's data interchange format
22
//
33
// Copyright 2011 The Go Authors. All rights reserved.
4-
// http://code.google.com/p/goprotobuf/
4+
// https://github.com/golang/protobuf
55
//
66
// Redistribution and use in source and binary forms, with or without
77
// modification, are permitted provided that the following conditions are

proto/clone_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Go support for Protocol Buffers - Google's data interchange format
22
//
33
// Copyright 2011 The Go Authors. All rights reserved.
4-
// http://code.google.com/p/goprotobuf/
4+
// https://github.com/golang/protobuf
55
//
66
// Redistribution and use in source and binary forms, with or without
77
// modification, are permitted provided that the following conditions are
@@ -34,7 +34,7 @@ package proto_test
3434
import (
3535
"testing"
3636

37-
"code.google.com/p/goprotobuf/proto"
37+
"github.com/golang/protobuf/proto"
3838

3939
pb "./testdata"
4040
)

proto/decode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Go support for Protocol Buffers - Google's data interchange format
22
//
33
// Copyright 2010 The Go Authors. All rights reserved.
4-
// http://code.google.com/p/goprotobuf/
4+
// https://github.com/golang/protobuf
55
//
66
// Redistribution and use in source and binary forms, with or without
77
// modification, are permitted provided that the following conditions are

proto/encode.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Go support for Protocol Buffers - Google's data interchange format
22
//
33
// Copyright 2010 The Go Authors. All rights reserved.
4-
// http://code.google.com/p/goprotobuf/
4+
// https://github.com/golang/protobuf
55
//
66
// Redistribution and use in source and binary forms, with or without
77
// modification, are permitted provided that the following conditions are

0 commit comments

Comments
 (0)