project init
This commit is contained in:
parent
b5660e8c0a
commit
ba354729eb
5
cmd/new.go
Normal file
5
cmd/new.go
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
package cmd
|
||||||
|
|
||||||
|
func New() {
|
||||||
|
|
||||||
|
}
|
26
main.go
26
main.go
@ -3,19 +3,21 @@ package main
|
|||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"github.com/gookit/color"
|
"github.com/gookit/color"
|
||||||
|
"golib.gaore.com/GaoreGo/beegoinit-cmd/cmd"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
logo := " _____ ____________ _ _ _ \n"
|
logo := color.Yellow.Sprint(" _____ ____________ _ _ _ \n")
|
||||||
logo += "| __ \\| ___ \\ ___ \\ (_) (_) | \n"
|
logo += color.Yellow.Sprint("| __ \\| ___ \\ ___ \\ (_) (_) | \n")
|
||||||
logo += "| | \\/| |_/ / |_/ / ___ ___ __ _ ___ _ _ __ _| |_ \n"
|
logo += color.Yellow.Sprint("| | \\/| |_/ / |_/ / ___ ___ __ _ ___ _ _ __ _| |_ \n")
|
||||||
logo += "| | __ | /| ___ \\/ _ \\/ _ \\/ _` |/ _ \\ | | '_ \\| | __|\n"
|
logo += color.Yellow.Sprint("| | __ | /| ___ \\/ _ \\/ _ \\/ _` |/ _ \\ | | '_ \\| | __|\n")
|
||||||
logo += "| |_\\ \\| |\\ \\| |_/ / __/ __/ (_| | (_) | | | | | | | |_ \n"
|
logo += color.Yellow.Sprint("| |_\\ \\| |\\ \\| |_/ / __/ __/ (_| | (_) | | | | | | | |_ \n")
|
||||||
logo += " \\____/\\_| \\_\\____/ \\___|\\___|\\__, |\\___/ |_|_| |_|_|\\__|\n"
|
logo += color.Yellow.Sprint(" \\____/\\_| \\_\\____/ \\___|\\___|\\__, |\\___/ |_|_| |_|_|\\__|\n")
|
||||||
logo += " __/ | \n"
|
logo += color.Yellow.Sprint(" __/ | \n")
|
||||||
logo += " |___/ \n\n"
|
logo += color.Yellow.Sprint(" |___/ \n\n")
|
||||||
logo += " ------ by http://www.patorjk.com/software/taag/ -------\n"
|
logo += color.Blue.Sprint(" ------ by http://www.patorjk.com/software/taag/ -------\n")
|
||||||
red := color.Red.Render
|
//red := color.Red.Render
|
||||||
fmt.Println("how o %s", red("fheosidfoaisufo"))
|
//fmt.Println("how o %s", red(time.Now().Format(time.ANSIC)))
|
||||||
color.Yellow.Println(logo)
|
fmt.Println(logo)
|
||||||
|
cmd.New()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user