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
This commit is contained in:
Julius Volz 2015-02-14 00:00:34 +01:00
parent 70f54973fb
commit 765fdaf37e
11 changed files with 11 additions and 11 deletions

View File

@ -13,7 +13,7 @@ import (
dto "github.com/prometheus/client_model/go"
"code.google.com/p/goprotobuf/proto"
"github.com/golang/protobuf/proto"
)
var (

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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"
)

View File

@ -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"

View File

@ -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.

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"
)

View File

@ -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"