go-xkcdreader/main.go
surtur f099f43f05
All checks were successful
continuous-integration/drone/push Build is passing
go: move app logic to xkcdreader package
2022-05-19 17:24:00 +02:00

21 lines
303 B
Go

package main
import (
"fmt"
"git.dotya.ml/wanderer/go-xkcdreader/cmd"
"git.dotya.ml/wanderer/go-xkcdreader/xkcdreader"
)
var version = cmd.GetShortVersion()
func main() {
cmd.Execute()
fmt.Println("Starting " + cmd.GetAppName() + " " + version)
xkcdreader.RunApp()
fmt.Println("Exited")
}