fix: more lint issues

This commit is contained in:
Ruidy Nemausat 2021-10-20 17:40:11 +02:00
parent d29ad13fed
commit 6f04c27041
No known key found for this signature in database
GPG key ID: A367830814E7096E
3 changed files with 8 additions and 1 deletions

5
Makefile Normal file
View file

@ -0,0 +1,5 @@
lint:
golint cmd/...
golint passgen/...
.PHONY: lint

View file

@ -2,9 +2,10 @@
package cmd
import (
"github.com/spf13/cobra"
"log"
"os"
"github.com/spf13/cobra"
)
// rootCommand initializes the command-line interface application.

View file

@ -1,5 +1,6 @@
package passgen
// Options configures the PasswordGenerator.
type Options struct {
// Length of the new password
Length int