aboutsummaryrefslogtreecommitdiff
path: root/nexgb/xgbgen/context.go
diff options
context:
space:
mode:
authorAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-04-30 02:44:31 -0400
committerAndrew Gallant (Ocelot) <Andrew.Gallant@tufts.edu>2012-04-30 02:44:31 -0400
commit2a2d8653b3a7918dfb00dcca8937b0e878279c70 (patch)
tree39505670885d7ae838f9c306070336db4685e078 /nexgb/xgbgen/context.go
parent05d8ec6a16acf88c5ae7521d86131f5ea7f9b4e4 (diff)
downloadhaven-2a2d8653b3a7918dfb00dcca8937b0e878279c70.tar.gz
haven-2a2d8653b3a7918dfb00dcca8937b0e878279c70.tar.xz
haven-2a2d8653b3a7918dfb00dcca8937b0e878279c70.zip
gofmt
Diffstat (limited to 'nexgb/xgbgen/context.go')
-rw-r--r--nexgb/xgbgen/context.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/nexgb/xgbgen/context.go b/nexgb/xgbgen/context.go
index d3cbb81..67801c7 100644
--- a/nexgb/xgbgen/context.go
+++ b/nexgb/xgbgen/context.go
@@ -9,7 +9,7 @@ import (
type Context struct {
protocol *Protocol
- out *bytes.Buffer
+ out *bytes.Buffer
}
func newContext() *Context {
@@ -20,7 +20,7 @@ func newContext() *Context {
// Putln calls put and adds a new line to the end of 'format'.
func (c *Context) Putln(format string, v ...interface{}) {
- c.Put(format + "\n", v...)
+ c.Put(format+"\n", v...)
}
// Put is a short alias to write to 'out'.