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

Update constants.go to include a persistent flag #220

Open bosdhill opened 5 years ago

bosdhill commented 5 years ago

It seems odd that there isn't a flag for persistent while there is one for ephemeral and sequence. I think it would be clearer to just use a constant rather than 0.