Skip to content

Commit

Permalink
add logo
Browse files Browse the repository at this point in the history
  • Loading branch information
beginman committed Dec 22, 2017
1 parent 987dbde commit 3459bcf
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ _testmain.go
*.test
*.prof

*.tar.gz
ydao
4 changes: 0 additions & 4 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ import (
"os"
)

var (
proxy string
)

func main(){
if len(os.Args) == 1 {
displayUsage()
Expand Down
15 changes: 12 additions & 3 deletions utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 3459bcf

Please sign in to comment.