-
Notifications
You must be signed in to change notification settings - Fork 144
/
Copy pathmain.go
31 lines (28 loc) · 1.6 KB
/
main.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
package main
import (
"DetectDee/cmd"
"fmt"
log "github.com/sirupsen/logrus"
"os"
)
func init() {
log.SetFormatter(&log.TextFormatter{
ForceColors: true,
FullTimestamp: true,
PadLevelText: true,
DisableColors: false,
EnvironmentOverrideColors: true,
TimestampFormat: "2006-01-02 15:04:05",
})
log.SetOutput(os.Stdout)
log.SetLevel(log.InfoLevel)
}
func main() {
fmt.Println(`██████╗ ███████╗████████╗███████╗ ██████╗████████╗██████╗ ███████╗███████╗
██╔══██╗██╔════╝╚══██╔══╝██╔════╝██╔════╝╚══██╔══╝██╔══██╗██╔════╝██╔════╝
██║ ██║█████╗ ██║ █████╗ ██║ ██║ ██║ ██║█████╗ █████╗
██║ ██║██╔══╝ ██║ ██╔══╝ ██║ ██║ ██║ ██║██╔══╝ ██╔══╝
██████╔╝███████╗ ██║ ███████╗╚██████╗ ██║ ██████╔╝███████╗███████╗
╚═════╝ ╚══════╝ ╚═╝ ╚══════╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚══════╝`)
cmd.Execute()
}