mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-12-11 15:30:07 +00:00
17 lines
261 B
Go
17 lines
261 B
Go
|
package invalid8
|
||
|
|
||
|
type SomeStruct struct {
|
||
|
Field int
|
||
|
// RPC binding generator will convert this field into exported, which matches
|
||
|
// exactly the existing Field.
|
||
|
field int
|
||
|
}
|
||
|
|
||
|
func Main() SomeStruct {
|
||
|
s := SomeStruct{
|
||
|
Field: 1,
|
||
|
field: 2,
|
||
|
}
|
||
|
return s
|
||
|
}
|