samuel / go-zookeeper

Native ZooKeeper client for Go. This project is no longer maintained. Please use https://github.com/go-zookeeper/zk instead.
BSD 3-Clause "New" or "Revised" License
1.64k stars 672 forks source link

Fix struct encode and decode for Go 1.13 #216

Closed samuel closed 5 years ago

samuel commented 5 years ago

Comparing the string for a runtime error isn't great, but leaving the existing behavior and making it work in Go 1.13beta1.

Fixes #215

coveralls commented 5 years ago

Coverage Status

Coverage decreased (-2.02%) to 78.776% when pulling 4877e0b5cfb4e3d569a32bad5dfa781eccfdf1f0 on go-1-13-support into 758ce21adf7c32a1b653085723735f0cf7fb29f2 on master.