main.go 267 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package main

import (
	"os"

	"github.com/rs/zerolog/log"
	api_server "gitlab.com/tensorsecurity-rd/waf-console/cmd/api-server/app"
)

func main() {
	rootCmd := api_server.NewRootCommand()
	if err := rootCmd.Execute(); err != nil {
		log.Err(err)
		os.Exit(-1)
	}
}