Skip to content
This repository was archived by the owner on Nov 7, 2022. It is now read-only.

Commit a421e15

Browse files
Bogdan DrutuEmmanuel T Odeke
authored andcommitted
internal/compression/grpc: use import block for blank import (#402)
Just encountered golang/lint#366 whose work around is to convert a single blank import "_" into a block import.
1 parent 2603c50 commit a421e15

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

internal/compression/grpc/gzip.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,7 @@
1414

1515
package grpc
1616

17-
import _ "google.golang.org/grpc/encoding/gzip" // import the gzip package with auto-registers the gzip grpc compressor
17+
import (
18+
// import the gzip package with auto-registers the gzip grpc compressor
19+
_ "google.golang.org/grpc/encoding/gzip"
20+
)

0 commit comments

Comments
 (0)