1
0
Fork 0
This repository has been archived on 2025-08-23. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
mareshq-backoffice-v2-api/cmd/server.go
2024-05-04 18:21:45 +02:00

20 lines
370 B
Go

package cmd
import (
"github.com/spf13/cobra"
"gitlab.mareshq.com/hq/backoffice/backoffice-api/internal/server"
)
func init() {
rootCmd.AddCommand(serverCmd)
}
var serverCmd = &cobra.Command{
Use: "server",
Short: "Starts backoffice backend API server",
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
srv := server.NewServer()
srv.Run()
},
}