Skip to content

Commit

Permalink
fix style and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
apolcyn committed Feb 14, 2017
1 parent 5d05cdc commit eff7748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions codec.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
*/
*/

package grpc

Expand All @@ -56,7 +56,7 @@ type protoCodec struct {

type cachedProtoBuffer struct {
lastMarshaledSize int32
buffer proto.Buffer
buffer proto.Buffer
}

func (p protoCodec) Marshal(v interface{}) ([]byte, error) {
Expand Down Expand Up @@ -96,7 +96,7 @@ var (
protoBufferPool = &sync.Pool{
New: func() interface{} {
return &cachedProtoBuffer{
buffer: proto.Buffer{},
buffer: proto.Buffer{},
lastMarshaledSize: 16,
}
},
Expand Down

0 comments on commit eff7748

Please sign in to comment.