From 765fdaf37e7d02e0b146fea94330bf1c3a31679e Mon Sep 17 00:00:00 2001 From: Julius Volz Date: Sat, 14 Feb 2015 00:00:34 +0100 Subject: [PATCH] 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 https://github.com/matttproud/golang_protobuf_extensions/pull/7 --- prometheus/desc.go | 2 +- prometheus/example_selfcollector_test.go | 2 +- prometheus/examples_test.go | 2 +- prometheus/registry.go | 2 +- prometheus/registry_test.go | 2 +- prometheus/summary.go | 2 +- prometheus/value.go | 2 +- text/create_test.go | 2 +- text/parse.go | 2 +- text/parse_test.go | 2 +- text/proto.go | 2 +- 11 files changed, 11 insertions(+), 11 deletions(-) diff --git a/prometheus/desc.go b/prometheus/desc.go index e09f86d..7e1f9e8 100644 --- a/prometheus/desc.go +++ b/prometheus/desc.go @@ -13,7 +13,7 @@ import ( dto "github.com/prometheus/client_model/go" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" ) var ( diff --git a/prometheus/example_selfcollector_test.go b/prometheus/example_selfcollector_test.go index d82917c..608deeb 100644 --- a/prometheus/example_selfcollector_test.go +++ b/prometheus/example_selfcollector_test.go @@ -16,7 +16,7 @@ package prometheus_test import ( "runtime" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" diff --git a/prometheus/examples_test.go b/prometheus/examples_test.go index 2b0e7f4..78b1b81 100644 --- a/prometheus/examples_test.go +++ b/prometheus/examples_test.go @@ -23,7 +23,7 @@ import ( dto "github.com/prometheus/client_model/go" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" "github.com/prometheus/client_golang/prometheus" ) diff --git a/prometheus/registry.go b/prometheus/registry.go index 50d3a58..505a4aa 100644 --- a/prometheus/registry.go +++ b/prometheus/registry.go @@ -35,7 +35,7 @@ import ( dto "github.com/prometheus/client_model/go" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" "github.com/prometheus/client_golang/_vendor/goautoneg" "github.com/prometheus/client_golang/model" diff --git a/prometheus/registry_test.go b/prometheus/registry_test.go index b3603cb..95579e5 100644 --- a/prometheus/registry_test.go +++ b/prometheus/registry_test.go @@ -25,7 +25,7 @@ import ( "net/http" "testing" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" ) diff --git a/prometheus/summary.go b/prometheus/summary.go index 812a5de..5d8b82f 100644 --- a/prometheus/summary.go +++ b/prometheus/summary.go @@ -20,7 +20,7 @@ import ( "sync" "time" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" diff --git a/prometheus/value.go b/prometheus/value.go index 2db1d11..107d43e 100644 --- a/prometheus/value.go +++ b/prometheus/value.go @@ -22,7 +22,7 @@ import ( dto "github.com/prometheus/client_model/go" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" ) // ValueType is an enumeration of metric types that represent a simple value. diff --git a/text/create_test.go b/text/create_test.go index fac51e3..9326e6e 100644 --- a/text/create_test.go +++ b/text/create_test.go @@ -19,7 +19,7 @@ import ( "strings" "testing" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" ) diff --git a/text/parse.go b/text/parse.go index 3fabab0..eaff592 100644 --- a/text/parse.go +++ b/text/parse.go @@ -24,7 +24,7 @@ import ( dto "github.com/prometheus/client_model/go" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" "github.com/prometheus/client_golang/model" ) diff --git a/text/parse_test.go b/text/parse_test.go index 6f5491d..6b7adff 100644 --- a/text/parse_test.go +++ b/text/parse_test.go @@ -18,7 +18,7 @@ import ( "strings" "testing" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" dto "github.com/prometheus/client_model/go" ) diff --git a/text/proto.go b/text/proto.go index a46c418..058adfc 100644 --- a/text/proto.go +++ b/text/proto.go @@ -17,7 +17,7 @@ import ( "fmt" "io" - "code.google.com/p/goprotobuf/proto" + "github.com/golang/protobuf/proto" "github.com/matttproud/golang_protobuf_extensions/ext" dto "github.com/prometheus/client_model/go"