1
0
mirror of https://gitea.com/jolheiser/sip synced 2024-11-22 19:51:58 +01:00
sip/main.go
John Olheiser 5ecbcde518 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: https://gitea.com/jolheiser/sip/pulls/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)
}
}