jmckaskill/go-capnproto — pull request #3 by peterwald (2013-11-17 17:06:36+00:00)
Title: Make the generated “which” method publicly accessible.

Since the "which" method is currently private, there is no easy way for the consumer of a capnp package to know the type of a value that is encoded in a union. Making the "which" method public is an easy way to accomplish this.