diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-04-30 02:44:31 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-04-30 02:44:31 -0400 |
| commit | f7be3db65e559e77355537a11a88c8657ec4c059 (patch) | |
| tree | 98a3a415d15b6a2c03b0ae7206cbb9a8df66c601 /xgbgen/representation.go | |
| parent | 91ec0c014823a869775575879de1f5585523fc39 (diff) | |
gofmt
Diffstat (limited to 'xgbgen/representation.go')
| -rw-r--r-- | xgbgen/representation.go | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/xgbgen/representation.go b/xgbgen/representation.go index 928e219..2d33a45 100644 --- a/xgbgen/representation.go +++ b/xgbgen/representation.go @@ -1,14 +1,14 @@ package main type Protocol struct { - Name string - ExtXName string - ExtName string + Name string + ExtXName string + ExtName string MajorVersion string MinorVersion string - Imports []*Protocol - Types []Type + Imports []*Protocol + Types []Type Requests []*Request } @@ -28,10 +28,10 @@ func (p *Protocol) Initialize() { type Request struct { srcName string xmlName string - Opcode int + Opcode int Combine bool - Fields []Field - Reply *Reply + Fields []Field + Reply *Reply } func (r *Request) Initialize(p *Protocol) { @@ -53,4 +53,3 @@ func (r *Reply) Initialize(p *Protocol) { field.Initialize(p) } } - |
