From ebdfe46386d7d9b9f34fb77ac193d20a967bb83d Mon Sep 17 00:00:00 2001 From: Gibheer Date: Fri, 24 Jul 2015 12:44:43 +0200 Subject: [PATCH] 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. --- command.go | 3 ++- main.go | 3 +-- 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"