package main import ( "fmt" "red-green/door" ) func main() { fmt.Println("Starting testdoor.go") d := door.Door{} d.Init() reset := door.Reset bold := door.Color(1, 37, 40) bolder := door.ColorText("BLI BOLD YEL ON BLUE") d.Write("Welcome to " + bolder + "door32.sys" + reset + door.CRNL + "..." + door.CRNL) key := d.Getch() message := fmt.Sprintf("Key %s%d / %x%s"+door.CRNL, bold, key, key, reset) d.Write(message) d.Write("Returning you to the BBS..." + door.CRNL) d.SleepKey(3) fmt.Println("Ending testdoor.go") }