This is a Golang package that decodes Google Maps binary-encoded polylines. See https://developers.google.com/maps/documentation/utilities/polylinealgorithm for more on the format and algorithm.
For docs, see: http://godoc.org/github.com/areusch/gmaps