Merge pull request #5 from MJDSys/gogoprotobuf_fix

Change all references to code.google.com/p/gogoprotobuf to github.com…
This commit is contained in:
Keiji Yoshida 2015-09-16 21:19:36 +09:00
commit 36632d4916
6 changed files with 12 additions and 15 deletions

View file

@ -1,8 +1,8 @@
package reaper
import (
"code.google.com/p/gogoprotobuf/proto"
"fmt"
"github.com/gogo/protobuf/proto"
"testing"
"time"

View file

@ -13,18 +13,18 @@ It has these top-level messages:
*/
package protobuf
import proto "code.google.com/p/gogoprotobuf/proto"
import json "encoding/json"
import proto "github.com/gogo/protobuf/proto"
import fmt "fmt"
import math "math"
// Reference proto, json, and math imports to suppress error if they are not otherwise used.
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = &json.SyntaxError{}
var _ = fmt.Errorf
var _ = math.Inf
type Session struct {
Values []byte `protobuf:"bytes,1,opt" json:"Values,omitempty"`
ExpiresAt *int64 `protobuf:"varint,2,opt" json:"ExpiresAt,omitempty"`
Values []byte `protobuf:"bytes,1,opt,name=Values" json:"Values,omitempty"`
ExpiresAt *int64 `protobuf:"varint,2,opt,name=ExpiresAt" json:"ExpiresAt,omitempty"`
XXX_unrecognized []byte `json:"-"`
}
@ -45,6 +45,3 @@ func (m *Session) GetExpiresAt() int64 {
}
return 0
}
func init() {
}

View file

@ -3,7 +3,7 @@ package shared
import (
"time"
"code.google.com/p/gogoprotobuf/proto"
"github.com/gogo/protobuf/proto"
"github.com/yosssi/boltstore/shared/protobuf"
)

View file

@ -1,11 +1,11 @@
package shared
import (
"github.com/yosssi/boltstore/shared/protobuf"
"testing"
"time"
"github.com/yosssi/boltstore/shared/protobuf"
"code.google.com/p/gogoprotobuf/proto"
"github.com/gogo/protobuf/proto"
)
func TestSession(t *testing.T) {

View file

@ -4,9 +4,9 @@ import (
"bytes"
"encoding/base32"
"encoding/gob"
"github.com/gogo/protobuf/proto"
"net/http"
"strings"
"code.google.com/p/gogoprotobuf/proto"
"github.com/boltdb/bolt"
"github.com/gorilla/securecookie"

View file

@ -9,7 +9,7 @@ import (
"testing"
"time"
"code.google.com/p/gogoprotobuf/proto"
"github.com/gogo/protobuf/proto"
"github.com/boltdb/bolt"
"github.com/gorilla/securecookie"