removes unused streaming decode code
applies go fmt