mirror of
https://github.com/rjNemo/go-pass-gen
synced 2026-06-12 13:46:49 +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
|
package cmd
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
|
|
||||||
|
"github.com/spf13/cobra"
|
||||||
)
|
)
|
||||||
|
|
||||||
// rootCommand initializes the command-line interface application.
|
// rootCommand initializes the command-line interface application.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
package passgen
|
package passgen
|
||||||
|
|
||||||
|
// Options configures the PasswordGenerator.
|
||||||
type Options struct {
|
type Options struct {
|
||||||
// Length of the new password
|
// Length of the new password
|
||||||
Length int
|
Length int
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue