aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/context.go
diff options
context:
space:
mode:
Diffstat (limited to 'nexgb/xgbgen/context.go')
-rw-r--r--nexgb/xgbgen/context.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/nexgb/xgbgen/context.go b/nexgb/xgbgen/context.go
index 3e484f3..d433531 100644
--- a/nexgb/xgbgen/context.go
+++ b/nexgb/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