16 lines
281 B
Go
16 lines
281 B
Go
package main
|
|
|
|
import (
|
|
"os"
|
|
|
|
"git.ipao.vip/rogee/creator-hub/internal/controlplane/app"
|
|
"github.com/sirupsen/logrus"
|
|
)
|
|
|
|
func main() {
|
|
if err := app.Execute(); err != nil {
|
|
logrus.WithField("service", "control-plane").WithError(err).Error("service stopped")
|
|
os.Exit(1)
|
|
}
|
|
}
|