forked from TrueCloudLab/neoneo-go
f000b76879
* [FIX] Formatting and code-style - gofmt - import resort - prealloc slices - simplify code * fix vet
10 lines
198 B
Go
10 lines
198 B
Go
package transaction
|
|
|
|
import "io"
|
|
|
|
// TXer is interface that can act as the underlying data of
|
|
// a transaction.
|
|
type TXer interface {
|
|
DecodeBinary(io.Reader) error
|
|
EncodeBinary(io.Writer) error
|
|
}
|