mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
430 B
18 lines
430 B
3 years ago
|
// -*- 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"`
|
||
|
}
|