Merge pull request #77 from prometheus/update-protobuf-pkg

Update protobuf library package name.
This commit is contained in:
juliusv 2015-02-14 00:04:33 +01:00
commit 4627d59e8a
11 changed files with 11 additions and 11 deletions

View File

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

View File

@ -16,7 +16,7 @@ package prometheus_test
import ( import (
"runtime" "runtime"
"code.google.com/p/goprotobuf/proto" "github.com/golang/protobuf/proto"
dto "github.com/prometheus/client_model/go" dto "github.com/prometheus/client_model/go"

View File

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

View File

@ -35,7 +35,7 @@ import (
dto "github.com/prometheus/client_model/go" 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/_vendor/goautoneg"
"github.com/prometheus/client_golang/model" "github.com/prometheus/client_golang/model"

View File

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

View File

@ -20,7 +20,7 @@ import (
"sync" "sync"
"time" "time"
"code.google.com/p/goprotobuf/proto" "github.com/golang/protobuf/proto"
dto "github.com/prometheus/client_model/go" dto "github.com/prometheus/client_model/go"

View File

@ -22,7 +22,7 @@ import (
dto "github.com/prometheus/client_model/go" 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. // ValueType is an enumeration of metric types that represent a simple value.

View File

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

View File

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

View File

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

View File

@ -17,7 +17,7 @@ import (
"fmt" "fmt"
"io" "io"
"code.google.com/p/goprotobuf/proto" "github.com/golang/protobuf/proto"
"github.com/matttproud/golang_protobuf_extensions/ext" "github.com/matttproud/golang_protobuf_extensions/ext"
dto "github.com/prometheus/client_model/go" dto "github.com/prometheus/client_model/go"