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.
This commit is contained in:
parent
2aa1793bb5
commit
ebdfe46386
|
@ -1,6 +1,7 @@
|
||||||
// Handler to make management of subcommands easier.
|
|
||||||
package main
|
package main
|
||||||
|
|
||||||
|
// Handler to make management of subcommands easier.
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
|
3
main.go
3
main.go
|
@ -1,8 +1,7 @@
|
||||||
package main
|
|
||||||
|
|
||||||
// This package builds a binary which helps to generate
|
// This package builds a binary which helps to generate
|
||||||
// private keys, public keys, certificates and also
|
// private keys, public keys, certificates and also
|
||||||
// includes functionality to sign and verify messages.
|
// includes functionality to sign and verify messages.
|
||||||
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"crypto"
|
"crypto"
|
||||||
|
|
Loading…
Reference in New Issue