mirror of
https://gitea.com/jolheiser/sip
synced 2024-11-22 19:51:58 +01:00
5ecbcde518
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
26 lines
318 B
Go
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)
|
|
}
|
|
}
|