tricrypt/cmd/ctui/main.go

24 lines
332 B
Go
Raw Normal View History

2024-03-13 23:06:20 +01:00
package main
import (
"log"
"os"
"git.qowevisa.me/Qowevisa/gotell/tui"
)
func main() {
logFile, err := os.OpenFile("ctui.log", os.O_RDWR|os.O_CREATE|os.O_APPEND, 0666)
if err != nil {
panic(err)
}
defer logFile.Close()
log.SetOutput(logFile)
log.Printf("Start")
err = tui.UI.Run()
if err != nil {
panic(err)
}
}