1
0
Fork 0
master
Ambrose Chua 2017-10-07 16:27:46 +08:00
parent 8d9f9e6dde
commit 5a5b66cfbf
3 changed files with 21 additions and 21 deletions

View File

@ -3,9 +3,9 @@ package pw
//go:generate go run words_generate.go //go:generate go run words_generate.go
import ( import (
"strings"
"crypto/rand" "crypto/rand"
"math/big" "math/big"
"strings"
) )
type Strength int type Strength int

View File

@ -5,8 +5,8 @@ package main
import ( import (
"log" "log"
"os"
"bufio" "bufio"
"os"
"text/template" "text/template"
"time" "time"
) )

View File

@ -17,7 +17,7 @@ func main() {
app.Usage = "generate secure passwords" app.Usage = "generate secure passwords"
app.Version = "0.1.0" app.Version = "0.1.0"
app.Flags = []cli.Flag { app.Flags = []cli.Flag{
cli.StringFlag{ cli.StringFlag{
Name: "count, c", Name: "count, c",
Value: "auto", Value: "auto",