From c973e29e7b10fd11b24a874e2191b91e5b208a3b Mon Sep 17 00:00:00 2001 From: David Ansari Date: Fri, 19 Mar 2021 13:51:35 +0100 Subject: [PATCH] Group constants --- main.go | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/main.go b/main.go index fdc0ccd4..3c3bf6f5 100644 --- a/main.go +++ b/main.go @@ -26,12 +26,14 @@ import ( // +kubebuilder:scaffold:imports ) -const vhostControllerName = "vhost-controller" -const queueControllerName = "queue-controller" -const exchangeControllerName = "exchange-controller" -const bindingControllerName = "binding-controller" -const userControllerName = "user-controller" -const policyControllerName = "policy-controller" +const ( + vhostControllerName = "vhost-controller" + queueControllerName = "queue-controller" + exchangeControllerName = "exchange-controller" + bindingControllerName = "binding-controller" + userControllerName = "user-controller" + policyControllerName = "policy-controller" +) var ( scheme = runtime.NewScheme()