diff options
| author | Andrew Gallant <[email protected]> | 2013-01-26 12:51:48 -0500 |
|---|---|---|
| committer | Andrew Gallant <[email protected]> | 2013-01-26 12:51:48 -0500 |
| commit | 7043a79bf5cdf6f52a6dc4a05be364da10593ad4 (patch) | |
| tree | d4013315844c1c91adffaca5636bde134f5a2eb8 /xgbgen/go_struct.go | |
| parent | 0faa267d653d815a370a50be59480a3801bc440f (diff) | |
gofmt
Diffstat (limited to 'xgbgen/go_struct.go')
| -rw-r--r-- | xgbgen/go_struct.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xgbgen/go_struct.go b/xgbgen/go_struct.go index cb765a0..984a336 100644 --- a/xgbgen/go_struct.go +++ b/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.", |
