diff options
author | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-06 02:21:31 -0400 |
---|---|---|
committer | Andrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu> | 2012-05-06 02:21:31 -0400 |
commit | 18b2d420b092d71313f0c05210c3038ff32483e7 (patch) | |
tree | e934f6bddd11863e82d591fb2a168d60be382f9d /nexgb/xgbgen/context.go | |
parent | 99bc76de54729df5494faa944d4da96a8885d51e (diff) | |
download | haven-18b2d420b092d71313f0c05210c3038ff32483e7.tar.gz haven-18b2d420b092d71313f0c05210c3038ff32483e7.tar.xz haven-18b2d420b092d71313f0c05210c3038ff32483e7.zip |
added documentation and did some slight restructuring. it's party time.
Diffstat (limited to 'nexgb/xgbgen/context.go')
-rw-r--r-- | nexgb/xgbgen/context.go | 2 |
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 |