lint: fix issues in examples (#49)

This commit is contained in:
Michael McLoughlin
2019-01-13 10:12:52 -08:00
parent 943d5f0ced
commit 4aa8656eb0
11 changed files with 22 additions and 12 deletions

View File

@@ -1,5 +1,6 @@
package args
// Struct is a struct containing various datatypes, to help demonstrate struct field access.
type Struct struct {
Byte byte
Int8 int8
@@ -15,6 +16,7 @@ type Struct struct {
Complex128 complex128
}
// Sub is a sub-struct of Struct, to demonstrate nested datastructure accesses.
type Sub struct {
A uint64
B [3]byte