testing: remove mocks for now
This commit is contained in:
parent
4b718e1dd3
commit
238f78b556
|
@ -1 +0,0 @@
|
||||||
package base
|
|
|
@ -1 +0,0 @@
|
||||||
package interfaces
|
|
|
@ -1 +0,0 @@
|
||||||
package net
|
|
|
@ -6,8 +6,6 @@ import (
|
||||||
"net/url"
|
"net/url"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate mockgen -source=peer.go -destination=../mocks/net/peer.go -package=net
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
_ Peer = (*BasePeer)(nil)
|
_ Peer = (*BasePeer)(nil)
|
||||||
)
|
)
|
||||||
|
|
|
@ -8,8 +8,6 @@ import (
|
||||||
"io"
|
"io"
|
||||||
)
|
)
|
||||||
|
|
||||||
//go:generate mockgen -source=base.go -destination=../mocks/base/base.go -package=base
|
|
||||||
|
|
||||||
var (
|
var (
|
||||||
_ msgpack.CustomDecoder = (*IncomingMessageReader)(nil)
|
_ msgpack.CustomDecoder = (*IncomingMessageReader)(nil)
|
||||||
)
|
)
|
||||||
|
|
|
@ -2,8 +2,6 @@ package base
|
||||||
|
|
||||||
import "github.com/vmihailenco/msgpack/v5"
|
import "github.com/vmihailenco/msgpack/v5"
|
||||||
|
|
||||||
//go:generate mockgen -source=encodeable_message.go -destination=../mocks/base/encodeable_message.go -package=base
|
|
||||||
|
|
||||||
type EncodeableMessage interface {
|
type EncodeableMessage interface {
|
||||||
msgpack.CustomEncoder
|
msgpack.CustomEncoder
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue