summaryrefslogtreecommitdiff
path: root/xgbgen/context.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <[email protected]>2012-05-06 02:21:31 -0400
committerAndrew Gallant (Ocelot) <[email protected]>2012-05-06 02:21:31 -0400
commit69ba151e407538b730dc31db3407cb61e7279160 (patch)
treee8a347d62aca985f21ace26ff0f7a143fae44a89 /xgbgen/context.go
parent65ab69dd1e32e52fb075072df7d520229d643e0b (diff)
added documentation and did some slight restructuring. it's party time.
Diffstat (limited to 'xgbgen/context.go')
-rw-r--r--xgbgen/context.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/xgbgen/context.go b/xgbgen/context.go
index 3e484f3..d433531 100644
--- a/xgbgen/context.go
+++ b/xgbgen/context.go
@@ -8,6 +8,8 @@ import (
"time"
)
+// Context represents the protocol we're converting to Go, and a writer
+// buffer to write the Go source to.
type Context struct {
protocol *Protocol
out *bytes.Buffer