cmd/gocharm: generate hooks correctly
Merge pull request #9 from rogpeppe/009-fix-hooks

cmd/gocharm: generate hooks correctly