start example/test for components access
This commit is contained in:
20
examples/components/components.go
Normal file
20
examples/components/components.go
Normal file
@@ -0,0 +1,20 @@
|
||||
package components
|
||||
|
||||
type Struct struct {
|
||||
Byte byte
|
||||
Uint32 uint32
|
||||
Uint64 uint64
|
||||
Float32 float32
|
||||
Float64 float64
|
||||
String string
|
||||
Slice []Sub
|
||||
Array [5]Sub
|
||||
Complex64 complex64
|
||||
Complex128 complex128
|
||||
}
|
||||
|
||||
type Sub struct {
|
||||
A uint64
|
||||
B [3]byte
|
||||
C uint16
|
||||
}
|
||||
Reference in New Issue
Block a user