bblfsh / go-client

Babelfish Go client
https://doc.bblf.sh/using-babelfish/clients.html
Apache License 2.0
37 stars 20 forks source link

Document how to serialize nodes to protobuf. #105

Closed creachadair closed 5 years ago

creachadair commented 5 years ago

Fixes #99. Also included in this commit are a couple of minor typo fixes. Note that the example creates a slice for which there isn't a protobuf analogue; a better solution would be to generate a wrapper with a repeated field, but this at least illustrates the serialization API.

Signed-off-by: M. J. Fromberger michael.j.fromberger@gmail.com

vmarkovtsev commented 5 years ago

@creachadair This PR seems to be unmerged: a feature or a bug?

creachadair commented 5 years ago

@creachadair This PR seems to be unmerged: a feature or a bug?

Bug.

creachadair commented 5 years ago

111 because apparently I was asleep at the switch.