You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.2 KiB
Go
26 lines
1.2 KiB
Go
package main
|
|
|
|
import (
|
|
"cu-helper/cmd"
|
|
"fmt"
|
|
"github.com/mizuki1412/go-core-kit/init/initkit"
|
|
)
|
|
|
|
var (
|
|
version string
|
|
date string
|
|
goVersion string
|
|
)
|
|
|
|
func main() {
|
|
fmt.Println(` ██████ ██ ██ ██ ██ ███████ ██ ██████ ███████ ██████
|
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
|
██ ██ ██ █████ ███████ █████ ██ ██████ █████ ██████
|
|
██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██
|
|
██████ ██████ ██ ██ ███████ ███████ ██ ███████ ██ ██ `)
|
|
info := fmt.Sprintf("***Version %s***\n***BuildDate %s***\n***%s***\n", version, date, goVersion)
|
|
fmt.Print(info)
|
|
initkit.LoadConfig()
|
|
cmd.Execute()
|
|
}
|