diff --git a/.gitignore b/.gitignore index c92c4d5..5b0b31b 100644 --- a/.gitignore +++ b/.gitignore @@ -27,3 +27,5 @@ _testmain.go *.test *.prof +*.tar.gz +ydao diff --git a/main.go b/main.go index e89abfa..9514c8a 100755 --- a/main.go +++ b/main.go @@ -4,10 +4,6 @@ import ( "os" ) -var ( - proxy string -) - func main(){ if len(os.Args) == 1 { displayUsage() diff --git a/utils.go b/utils.go index aa75083..d4987c4 100644 --- a/utils.go +++ b/utils.go @@ -5,13 +5,22 @@ import ( "strings" "unicode" "runtime" - - "github.com/fatih/color" + "github.com/fatih/color" ) var ( version = "1.1" - logo = "ydao V%s 好好学学英语吧..." + logo = ` +██╗ ██╗██████╗ █████╗ ██████╗ +╚██╗ ██╔╝██╔══██╗██╔══██╗██╔═══██╗ + ╚████╔╝ ██║ ██║███████║██║ ██║ + ╚██╔╝ ██║ ██║██╔══██║██║ ██║ + ██║ ██████╔╝██║ ██║╚██████╔╝ + ╚═╝ ╚═════╝ ╚═╝ ╚═╝ ╚═════╝ + +ydao V%s 好好学学英语吧... + + ` ) func displayUsage() {