mirror of
https://github.com/status-im/op-geth.git
synced 2025-02-22 19:48:27 +00:00
18 lines
430 B
Plaintext
18 lines
430 B
Plaintext
|
// -*- mode: go -*-
|
||
|
|
||
|
package test
|
||
|
|
||
|
type Aux struct {
|
||
|
A uint64
|
||
|
}
|
||
|
|
||
|
type Test struct {
|
||
|
Uint64 uint64 `rlp:"optional"`
|
||
|
Pointer *uint64 `rlp:"optional"`
|
||
|
String string `rlp:"optional"`
|
||
|
Slice []uint64 `rlp:"optional"`
|
||
|
Array [3]byte `rlp:"optional"`
|
||
|
NamedStruct Aux `rlp:"optional"`
|
||
|
AnonStruct struct{ A string } `rlp:"optional"`
|
||
|
}
|