Skip to content

Commit 5d6c0c5

Browse files
committed
added implicit imports
1 parent a8e832e commit 5d6c0c5

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

templates/go/file.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ import (
2424
var (
2525
_ = errors.New("")
2626
_ = fmt.Print
27+
_ = binary.LittleEndian
28+
_ = new(hash.Hash64)
29+
_ = fnv.New64
30+
_ = hashstructure.Hash
31+
_ = new(safe_hasher.SafeHasher)
2732
2833
{{ range (externalEnums .) }}
2934
_ = {{ pkg . }}.{{ name . }}(0)

tests/api/hello.pb.hash.go

Lines changed: 5 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)