Why bother writing tests at all? It’s all about moving fast without breaking anything. This is a brief overview of the work we did on testing over the past half year in our team. With the help of CI, we significantly reduced the number of bugs and sped up the delivery of new features as we … Continue reading "An Odyssey of Testing in Go"
Read MoreTag: golang
Parse thrift in Go: the Antlr Way
thrift2interface is a small project I developed for auto generating go interfaces from thrift by Antlr4. This could be easily done by following the steps in Parsing with ANTLR 4 and Go with some extra efforts: Grammar The struct definition from the canonical Thrift.g4 may cause exceptions when generating Golang runtimes, this can be fixed … Continue reading "Parse thrift in Go: the Antlr Way"
Read More