status-go/eth-node/types/wrapped.go

8 lines
200 B
Go

package types
// Wrapped tells that a given object has an underlying representation
// and this representation can be accessed using `Unwrap` method.
type Wrapped interface {
Unwrap() interface{}
}