Update to current version of Go library.
From-SVN: r173931
This commit is contained in:
parent
37cb25ed7a
commit
9ff56c9570
363 changed files with 19111 additions and 4995 deletions
|
@ -152,7 +152,7 @@ func TestWriteT(t *testing.T) {
|
|||
t.Errorf("WriteT: have nil, want non-nil")
|
||||
}
|
||||
|
||||
tv := reflect.Indirect(reflect.NewValue(ts)).(*reflect.StructValue)
|
||||
tv := reflect.Indirect(reflect.ValueOf(ts))
|
||||
for i, n := 0, tv.NumField(); i < n; i++ {
|
||||
err = Write(buf, BigEndian, tv.Field(i).Interface())
|
||||
if err == nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue