mirror of
https://github.com/lightninglabs/pool.git
synced 2026-08-13 12:33:04 +02:00
The Marshaler interface is used to transform internal types to decorated RPC ones. It decouples that functionality form the rpcServer so it is easier to test exhaustively.
17 lines
759 B
Go
17 lines
759 B
Go
package pool
|
|
|
|
// This program generates mocks. It can be invoked by running:
|
|
//
|
|
// make mock
|
|
//
|
|
|
|
//go:generate mockgen -source=interfaces.go -package=pool -destination=mock_interfaces.go
|
|
|
|
//go:generate mockgen -source=sidecar/interfaces.go -package=sidecar -destination=sidecar/mock_interfaces.go
|
|
|
|
//go:generate mockgen -source=internal/test/interfaces.go -package=test -destination=internal/test/mock_interfaces.go
|
|
|
|
//go:generate mockgen -source=account/interfaces.go -package=account -destination=account/mock_interfaces.go
|
|
//go:generate mockgen -source=account/watcher/interfaces.go -package=watcher -destination=account/watcher/mock_interface_test.go
|
|
|
|
//go:generate mockgen -source=order/interfaces.go -package=order -destination=order/mock_interfaces.go
|