sip/main.go
John Olheiser 5ecbcde518
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Change to vanity URL (#37)
Fix YAML

New changes, generate docs, and add Drone for main

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Merge branch 'master' of gitea.com:jolheiser/sip into vanity

Change to vanity URL

Signed-off-by: jolheiser <john.olheiser@gmail.com>

Co-authored-by: jolheiser <john.olheiser@gmail.com>
Reviewed-on: #37
2020-09-21 19:21:07 +00:00

26 lines
318 B
Go

package main
import (
"os"
"go.jolheiser.com/sip/cmd"
"go.jolheiser.com/sip/config"
"go.jolheiser.com/beaver"
)
var Version = "develop"
func main() {
app := cmd.NewApp(Version)
if err := config.Init(); err != nil {
beaver.Fatal(err)
}
err := app.Run(os.Args)
if err != nil {
beaver.Fatal(err)
}
}