aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/go_struct.go
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2013-01-26 12:51:48 -0500
committerPřemysl Janouch <p@janouch.name>2018-09-08 16:49:16 +0200
commit3658686aeea7acc61621782c7c1e6dad66517479 (patch)
tree84f7783325e817969649d5423960a6b4f123a978 /nexgb/xgbgen/go_struct.go
parente635de5e1d64d5d642c05ad24ebb207846022272 (diff)
downloadhaven-3658686aeea7acc61621782c7c1e6dad66517479.tar.gz
haven-3658686aeea7acc61621782c7c1e6dad66517479.tar.xz
haven-3658686aeea7acc61621782c7c1e6dad66517479.zip
gofmt
Diffstat (limited to 'nexgb/xgbgen/go_struct.go')
-rw-r--r--nexgb/xgbgen/go_struct.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexgb/xgbgen/go_struct.go b/nexgb/xgbgen/go_struct.go
index cb765a0..984a336 100644
--- a/nexgb/xgbgen/go_struct.go
+++ b/nexgb/xgbgen/go_struct.go
@@ -27,7 +27,7 @@ func (s *Struct) Define(c *Context) {
}
}
-// Read for a struct creates a function 'ReadStructName' that takes a source
+// Read for a struct creates a function 'ReadStructName' that takes a source
// byte slice (i.e., the buffer) and a destination struct, and returns
// the number of bytes read off the buffer.
// 'ReadStructName' should only be used to read raw reply data from the wire.
@@ -49,7 +49,7 @@ func (s *Struct) Read(c *Context) {
}
// ReadList for a struct creates a function 'ReadStructNameList' that takes
-// a source (i.e., the buffer) byte slice, and a destination slice and returns
+// a source (i.e., the buffer) byte slice, and a destination slice and returns
// the number of bytes read from the byte slice.
func (s *Struct) ReadList(c *Context) {
c.Putln("// %sReadList reads a byte slice into a list of %s values.",