File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ package main
2+
3+ import (
4+ "github.com/EvilBytecode/GolangStyle"
5+ )
6+
7+ func main () {
8+ //console init, changing title clearing it and setting adjustement
9+ if err := gostyle .Init (); err != nil {
10+ gostyle .Write ("Failed to init console:" , gostyle .RED_TO_BLACK , false )
11+ return
12+ }
13+ // clears console (anything in there will be cleaned aka cls)
14+ gostyle .ClearConsole ()
15+ // hides console cursor
16+ gostyle .HideCursor ()
17+ // Shows Console Cursor
18+ gostyle .ShowCursor ()
19+ // Writes an Ascii with gradient fade
20+ gostyle .Write (`
21+ _____ _____ _ _
22+ / ____| / ____| | | |
23+ | | __ ___| (___ | |_ _ _| | ___
24+ | | |_ |/ _ \\___ \| __| | | | |/ _ \
25+ | |__| | (_) |___) | |_| |_| | | __/
26+ \_____|\___/_____/ \__|\__, |_|\___|
27+ __/ |
28+ |___/
29+ ` , gostyle .PURPLE_TO_BLUE , true )
30+
31+ gostyle .WriteColorized ("Best Looking Color Library written in Go for Windows" , "red" , true )
32+ gostyle .Write ("Coded by Evilbytecode & MMCopyMemory" , gostyle .BLUE_TO_PURPLE , true )
33+ gostyle .Write (`
34+ Follow us on github:
35+ https://github.com/MmCopyMemory
36+ https://github.com/Evilbytecode
37+ ` , gostyle .BLUE_TO_PURPLE , true )
38+ gostyle .Write ("Without MMCopyMemory this wouldnt exist, follow him!" , nil , true )
39+ }
You can’t perform that action at this time.
0 commit comments