Move go:generate to the source side

pull/456/head
Eugene Kim 6 years ago
parent f05eca3f8a
commit 913cb45115
  1. 2
      p2p/host/hostv2/hostv2.go
  2. 2
      p2p/host/hostv2/hostv2_test.go

@ -1,5 +1,7 @@
package hostv2
//go:generate mockgen -source hostv2.go -destination=mock/hostv2_mock.go
import (
"context"
"fmt"

@ -1,7 +1,5 @@
package hostv2
//go:generate mockgen -source hostv2.go -destination=mock/hostv2_mock.go
import (
"context"
"errors"

Loading…
Cancel
Save