diff options
| author | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-10 20:06:22 -0400 |
|---|---|---|
| committer | Andrew Gallant (Ocelot) <[email protected]> | 2012-05-10 20:06:22 -0400 |
| commit | 3db12a4549548416b141b2b29de42137a5b39aad (patch) | |
| tree | 393c25ed6fae2fc678094035102f05738b0d3451 /xgbgen/context.go | |
| parent | b618b2ea09167306cfe29b6966faf184bc893c2d (diff) | |
adding package header comments
Diffstat (limited to 'xgbgen/context.go')
| -rw-r--r-- | xgbgen/context.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xgbgen/context.go b/xgbgen/context.go index 67699cf..c40313f 100644 --- a/xgbgen/context.go +++ b/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("/*") |
