From a3363755cdfdafdf02d5a772bd47a462e99af057 Mon Sep 17 00:00:00 2001 From: "Andrew Gallant (Ocelot)" Date: Thu, 10 May 2012 20:06:22 -0400 Subject: adding package header comments --- nexgb/xgbgen/context.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'nexgb/xgbgen') diff --git a/nexgb/xgbgen/context.go b/nexgb/xgbgen/context.go index 67699cf..c40313f 100644 --- a/nexgb/xgbgen/context.go +++ b/nexgb/xgbgen/context.go @@ -51,6 +51,8 @@ func (c *Context) Morph(xmlBytes []byte) { c.protocol = parsedXml.Translate(nil) // Start with Go header. + c.Putln("// Package %s is the X client API for the %s extension.", + c.protocol.PkgName(), c.protocol.ExtXName) c.Putln("package %s", c.protocol.PkgName()) c.Putln("") c.Putln("/*") -- cgit v1.2.3-70-g09d2