package a | |
type Good struct { | |
y int32 | |
x byte | |
z byte | |
} | |
type Bad struct { | |
y int32 | |
x byte | |
z byte | |
} | |
type ZeroGood struct { | |
a [0]byte | |
b uint32 | |
} | |
type ZeroBad struct { | |
b [0]byte | |
a uint32 | |
} | |
type NoNameGood struct { | |
Good | |
y int32 | |
x byte | |
z byte | |
} | |
type NoNameBad struct { | |
Good | |
y int32 | |
x byte | |
z byte | |
} |