mirror of
https://github.com/jhillyerd/inbucket.git
synced 2025-12-17 17:47:03 +00:00
client: resolve linter errors (#431)
Signed-off-by: James Hillyerd <james@hillyerd.com>
This commit is contained in:
@@ -9,9 +9,7 @@ import (
|
||||
"github.com/inbucket/inbucket/v3/pkg/rest/client"
|
||||
)
|
||||
|
||||
type listCmd struct {
|
||||
mailbox string
|
||||
}
|
||||
type listCmd struct{}
|
||||
|
||||
func (*listCmd) Name() string {
|
||||
return "list"
|
||||
@@ -27,8 +25,7 @@ func (*listCmd) Usage() string {
|
||||
`
|
||||
}
|
||||
|
||||
func (l *listCmd) SetFlags(f *flag.FlagSet) {
|
||||
}
|
||||
func (l *listCmd) SetFlags(f *flag.FlagSet) {}
|
||||
|
||||
func (l *listCmd) Execute(
|
||||
_ context.Context, f *flag.FlagSet, _ ...interface{}) subcommands.ExitStatus {
|
||||
|
||||
Reference in New Issue
Block a user