mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-20 17:31:11 +00:00
2793ef6ec1
* move mocks to the owner packages * squash single file packages * move types to more appropriate files * remove unused mocks
16 lines
243 B
Go
16 lines
243 B
Go
package generics
|
|
|
|
import (
|
|
libcommon "github.com/ledgerwatch/erigon-lib/common"
|
|
"github.com/ledgerwatch/erigon/core/types"
|
|
)
|
|
|
|
func Empty[T any]() (t T) {
|
|
return
|
|
}
|
|
|
|
type Response struct {
|
|
Headers []*types.Header
|
|
Hashes []libcommon.Hash
|
|
}
|