aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGibheer <gibheer@gmail.com>2015-07-24 12:44:43 +0200
committerGibheer <gibheer@gmail.com>2015-07-24 12:44:43 +0200
commitebdfe46386d7d9b9f34fb77ac193d20a967bb83d (patch)
treed1259e42a8aaba4e051c13a962abad806472ea6b
parent2aa1793bb55741adf2e59a9cc42186bf5eb644b5 (diff)
the documentation has to go above the package
This makes the documentation in the main.go readable on the godoc.org website and through the godoc command.
-rw-r--r--command.go3
-rw-r--r--main.go3
2 files changed, 3 insertions, 3 deletions
diff --git a/command.go b/command.go
index 7322649..204c3be 100644
--- a/command.go
+++ b/command.go
@@ -1,6 +1,7 @@
-// Handler to make management of subcommands easier.
package main
+// Handler to make management of subcommands easier.
+
import (
"flag"
"fmt"
diff --git a/main.go b/main.go
index 45cc381..b1e43ab 100644
--- a/main.go
+++ b/main.go
@@ -1,8 +1,7 @@
-package main
-
// This package builds a binary which helps to generate
// private keys, public keys, certificates and also
// includes functionality to sign and verify messages.
+package main
import (
"crypto"