mirror of
https://gitea.com/jolheiser/sip
synced 2024-11-26 07:33:48 +01:00
894a641ef8
Clean up docs Signed-off-by: jolheiser <john.olheiser@gmail.com> Add generated docs Signed-off-by: jolheiser <john.olheiser@gmail.com> Update go.sum Signed-off-by: jolheiser <john.olheiser@gmail.com> Fix remote parsing Signed-off-by: jolheiser <john.olheiser@gmail.com> Refactor and clean up Signed-off-by: jolheiser <john.olheiser@gmail.com> Co-authored-by: jolheiser <john.olheiser@gmail.com> Reviewed-on: https://gitea.com/jolheiser/sip/pulls/29
26 lines
324 B
Go
26 lines
324 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"gitea.com/jolheiser/sip/cmd"
|
|
"gitea.com/jolheiser/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)
|
|
}
|
|
}
|