Skip to content

Commit 765fdaf

Browse files
committed
Update protobuf library package name.
The Golang protocol buffer library has now moved to GitHub: https://github.com/golang/protobuf Although "go get"-ing the old package name still works, moving everything to the new one will make vendoring cleaner. See also matttproud/golang_protobuf_extensions#7
1 parent 70f5497 commit 765fdaf

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

prometheus/desc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
dto "github.com/prometheus/client_model/go"
1515

16-
"code.google.com/p/goprotobuf/proto"
16+
"github.com/golang/protobuf/proto"
1717
)
1818

1919
var (

prometheus/example_selfcollector_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ package prometheus_test
1616
import (
1717
"runtime"
1818

19-
"code.google.com/p/goprotobuf/proto"
19+
"github.com/golang/protobuf/proto"
2020

2121
dto "github.com/prometheus/client_model/go"
2222

prometheus/examples_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
dto "github.com/prometheus/client_model/go"
2525

26-
"code.google.com/p/goprotobuf/proto"
26+
"github.com/golang/protobuf/proto"
2727

2828
"github.com/prometheus/client_golang/prometheus"
2929
)

prometheus/registry.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ import (
3535

3636
dto "github.com/prometheus/client_model/go"
3737

38-
"code.google.com/p/goprotobuf/proto"
38+
"github.com/golang/protobuf/proto"
3939

4040
"github.com/prometheus/client_golang/_vendor/goautoneg"
4141
"github.com/prometheus/client_golang/model"

prometheus/registry_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ import (
2525
"net/http"
2626
"testing"
2727

28-
"code.google.com/p/goprotobuf/proto"
28+
"github.com/golang/protobuf/proto"
2929
dto "github.com/prometheus/client_model/go"
3030
)
3131

prometheus/summary.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import (
2020
"sync"
2121
"time"
2222

23-
"code.google.com/p/goprotobuf/proto"
23+
"github.com/golang/protobuf/proto"
2424

2525
dto "github.com/prometheus/client_model/go"
2626

prometheus/value.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ import (
2222

2323
dto "github.com/prometheus/client_model/go"
2424

25-
"code.google.com/p/goprotobuf/proto"
25+
"github.com/golang/protobuf/proto"
2626
)
2727

2828
// ValueType is an enumeration of metric types that represent a simple value.

text/create_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
"strings"
2020
"testing"
2121

22-
"code.google.com/p/goprotobuf/proto"
22+
"github.com/golang/protobuf/proto"
2323
dto "github.com/prometheus/client_model/go"
2424
)
2525

text/parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424

2525
dto "github.com/prometheus/client_model/go"
2626

27-
"code.google.com/p/goprotobuf/proto"
27+
"github.com/golang/protobuf/proto"
2828
"github.com/prometheus/client_golang/model"
2929
)
3030

text/parse_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ import (
1818
"strings"
1919
"testing"
2020

21-
"code.google.com/p/goprotobuf/proto"
21+
"github.com/golang/protobuf/proto"
2222
dto "github.com/prometheus/client_model/go"
2323
)
2424

0 commit comments

Comments
 (0)