diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..21e8d4c --- /dev/null +++ b/Makefile @@ -0,0 +1,5 @@ +lint: + golint cmd/... + golint passgen/... + +.PHONY: lint \ No newline at end of file diff --git a/cmd/root.go b/cmd/root.go index e8f9846..893e1f8 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -2,9 +2,10 @@ package cmd import ( - "github.com/spf13/cobra" "log" "os" + + "github.com/spf13/cobra" ) // rootCommand initializes the command-line interface application. diff --git a/passgen/options.go b/passgen/options.go index 2573e41..5787a73 100644 --- a/passgen/options.go +++ b/passgen/options.go @@ -1,5 +1,6 @@ package passgen +// Options configures the PasswordGenerator. type Options struct { // Length of the new password Length int