summaryrefslogtreecommitdiffhomepage
path: root/tools/go_marshal/test/test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tools/go_marshal/test/test.go')
-rw-r--r--tools/go_marshal/test/test.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/go_marshal/test/test.go b/tools/go_marshal/test/test.go
index 93229dedb..c829db6da 100644
--- a/tools/go_marshal/test/test.go
+++ b/tools/go_marshal/test/test.go
@@ -104,6 +104,11 @@ type Stat struct {
_ [3]int64
}
+// InetAddr is an example marshallable newtype on an array.
+//
+// +marshal
+type InetAddr [4]byte
+
// SignalSet is an example marshallable newtype on a primitive.
//
// +marshal