fix: #3742 golint requires comments on non-main package for blank import

Signed-off-by: 谢瑶瑶 <yaoyao.xyy@alibaba-inc.com>
This commit is contained in:
谢瑶瑶 2021-12-14 13:50:59 +08:00
parent cd4c49b469
commit f5a720bcbb
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,9 @@ package moby
import (
"crypto/sha256"
// fix: #3742
// golint requires comments on non-main(test)
// package for blank import
_ "embed"
"fmt"
"io"

View File

@ -3,6 +3,9 @@ package moby
import (
"archive/tar"
"bytes"
// fix: #3742
// golint requires comments on non-main(test)
// package for blank import
_ "embed"
"fmt"
"io"