File tree Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Expand file tree Collapse file tree 4 files changed +13
-3
lines changed Original file line number Diff line number Diff line change 11language : go
22
3- gobuild_args : -tags='cluster' -race
4-
53go :
64 - 1.4
75 - 1.5
@@ -17,3 +15,5 @@ before_script:
1715 - rethinkdb --port-offset 1 --directory rethinkdb_data1 --join localhost:29016 > /dev/null 2>&1 &
1816 - rethinkdb --port-offset 2 --directory rethinkdb_data2 --join localhost:29016 > /dev/null 2>&1 &
1917 - rethinkdb --port-offset 3 --directory rethinkdb_data3 --join localhost:29016 > /dev/null 2>&1 &
18+
19+ script : go test -tags='cluster' -race -check.vv -v ./...
Original file line number Diff line number Diff line change 22All notable changes to this project will be documented in this file.
33This project adheres to [ Semantic Versioning] ( http://semver.org/ ) .
44
5+ ## v1.1.2
6+ ### Fixed
7+ - Fixed issue when encoding some maps
8+
59## v1.1.1
610### Fixed
711 - Corrected protobuf import
Original file line number Diff line number Diff line change 1+ package encoding
2+
3+ import (
4+ // Import gocheck so that flag are setup (but unused)
5+ _ "gopkg.in/check.v1"
6+ )
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ func Expr(val interface{}) Term {
6767 switch valType .Kind () {
6868 case reflect .Func :
6969 return makeFunc (val )
70- case reflect .Struct , reflect .Ptr :
70+ case reflect .Struct , reflect .Map , reflect . Ptr :
7171 data , err := encode (val )
7272
7373 if err != nil || data == nil {
You can’t perform that action at this time.
0 commit comments