summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/go.awk12
1 files changed, 3 insertions, 9 deletions
diff --git a/doc/go.awk b/doc/go.awk
index a325362..bcd4a7c 100644
--- a/doc/go.awk
+++ b/doc/go.awk
@@ -1,12 +1,6 @@
-BEGIN {
- show = 0
- print "/*"
-}
+BEGIN { show = 0 ; print "/*" }
-/^\-/ {
- trim = 1
- print ""
-}
+/^\-/ { trim = 1 ; print "" }
/^Package/ { show = 1 }
@@ -16,4 +10,4 @@ trim { sub("^ +", "", $0) }
show { print $0 }
-END { print "*/\npackage gofpdf" }
+END { print "*/\npackage " package_name }