Permalink
Browse files

use a template to generate boiler plate code

Similar to changeset pointlander@64fcb,
but using package exp/template.
  • Loading branch information...
1 parent e3c2aa9 commit 4680e85480ccee71eb797087ff2591216b4ee4f4 @knieriem committed Jul 15, 2011
Showing with 317 additions and 293 deletions.
  1. +1 −0 Makefile
  2. +72 −293 peg.go
  3. +244 −0 template.go
View
@@ -13,6 +13,7 @@ peg: main.$(O)
PKGFILES=\
peg.go\
+ template.go\
CMDFILES=\
main.go\
Oops, something went wrong.

0 comments on commit 4680e85

Please sign in to comment.