goreleaser-http-repo-builder/main.go

29 lines
471 B
Go
Raw Normal View History

2024-10-07 23:49:47 -05:00
package main
import (
"time"
)
const (
appName = "goreleaser-http-repo-builder"
appDescription = "Builds a repo for use with go-selfupdate"
appVersion = "0.1.0"
)
// App is the global application structure for communicating between servers and storing information.
type App struct {
flags *Flags
now time.Time
}
var app *App
func main() {
app = new(App)
app.now = time.Now()
ctx := app.ParseFlags()
err := ctx.Run()
ctx.FatalIfErrorf(err)
}