mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-06 02:46:40 +00:00
fix: more lint issues
This commit is contained in:
parent
d29ad13fed
commit
6f04c27041
3 changed files with 8 additions and 1 deletions
5
Makefile
Normal file
5
Makefile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
lint:
|
||||
golint cmd/...
|
||||
golint passgen/...
|
||||
|
||||
.PHONY: lint
|
||||
|
|
@ -2,9 +2,10 @@
|
|||
package cmd
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
// rootCommand initializes the command-line interface application.
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
package passgen
|
||||
|
||||
// Options configures the PasswordGenerator.
|
||||
type Options struct {
|
||||
// Length of the new password
|
||||
Length int
|
||||
|
|
|
|||
Loading…
Reference in a new issue