Skip to content

Commit 50240aa

Browse files
committed
Add go modules.
1 parent bf15bc5 commit 50240aa

File tree

5 files changed

+7
-4
lines changed

5 files changed

+7
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ install:
5555
go get -u github.com/tinylib/msgp
5656
go get -u github.com/andyleap/gencode
5757
go get -u github.com/mailru/easyjson/...
58-
go get -u github.com/DeDiS/protobuf
58+
go get -u go.dedis.ch/protobuf
5959
go get -u github.com/Sereal/Sereal/Go/sereal
6060
go get -u github.com/alecthomas/binary
6161
go get -u github.com/davecgh/go-xdr/xdr

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This is a test suite for benchmarking various Go serialization methods.
1818
- [github.com/tinylib/msgp](https://github.com/tinylib/msgp) *(code generator for msgpack)*
1919
- [github.com/golang/protobuf](https://github.com/golang/protobuf) (generated code)
2020
- [github.com/gogo/protobuf](https://github.com/gogo/protobuf) (generated code, optimized version of `goprotobuf`)
21-
- [github.com/DeDiS/protobuf](https://github.com/DeDiS/protobuf) (reflection based)
21+
- [go.dedis.ch/protobuf](https://go.dedis.ch/protobuf) (reflection based)
2222
- [github.com/google/flatbuffers](https://github.com/google/flatbuffers)
2323
- [github.com/hprose/hprose-go/io](https://github.com/hprose/hprose-go)
2424
- [github.com/glycerine/go-capnproto](https://github.com/glycerine/go-capnproto)

go.mod

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module github.com/alecthomas/go_serialization_benchmarks
2+
3+
go 1.12

go.sum

Whitespace-only changes.

serialization_benchmarks_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ import (
1515
"github.com/niubaoshu/gotiny"
1616
capnp "zombiezen.com/go/capnproto2"
1717

18-
"github.com/DeDiS/protobuf"
18+
"go.dedis.ch/protobuf"
1919
"github.com/Sereal/Sereal/Go/sereal"
2020
"github.com/davecgh/go-xdr/xdr"
2121
capn "github.com/glycerine/go-capnproto"
@@ -812,7 +812,7 @@ func BenchmarkHprose2Unmarshal(b *testing.B) {
812812
benchUnmarshal(b, &Hprose2Serializer{writer: writer, reader: reader})
813813
}
814814

815-
// github.com/DeDiS/protobuf
815+
// go.dedis.ch/protobuf
816816

817817
type ProtobufSerializer struct{}
818818

0 commit comments

Comments
 (0)