mirror of
https://github.com/aclindsa/ofxgo.git
synced 2025-07-01 19:58:37 -04:00
cmd/ofx: golint
This commit is contained in:
@ -6,7 +6,7 @@ import (
|
||||
"github.com/howeyc/gopass"
|
||||
)
|
||||
|
||||
type Command struct {
|
||||
type command struct {
|
||||
Name string
|
||||
Description string
|
||||
Flags *flag.FlagSet
|
||||
@ -14,7 +14,7 @@ type Command struct {
|
||||
Do func() // Run the command (only called if CheckFlags returns true)
|
||||
}
|
||||
|
||||
func (c *Command) Usage() {
|
||||
func (c *command) usage() {
|
||||
fmt.Printf("Usage of %s:\n", c.Name)
|
||||
c.Flags.PrintDefaults()
|
||||
}
|
||||
|
Reference in New Issue
Block a user