From 640f7a919c6f584149616ce2ce6843c5e16e30f2 Mon Sep 17 00:00:00 2001
From: Manuel Kieweg <manuel.kieweg@h-da.de>
Date: Mon, 7 Jun 2021 09:34:00 +0200
Subject: [PATCH] swap order

---
 northbound/server/nbi.go | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/northbound/server/nbi.go b/northbound/server/nbi.go
index 4e5ebd773..2e17223c9 100644
--- a/northbound/server/nbi.go
+++ b/northbound/server/nbi.go
@@ -6,6 +6,13 @@ import (
 
 var pndc *nucleus.PndStore
 
+// NorthboundInterface is the representation of the
+// gRPC services used provided.
+type NorthboundInterface struct {
+	Pnd  *pnd
+	Core *core
+}
+
 // NewNBI receives a PndStore and returns a new gRPC *NorthboundInterface
 func NewNBI(pnds *nucleus.PndStore) *NorthboundInterface {
 	pndc = pnds
@@ -14,10 +21,3 @@ func NewNBI(pnds *nucleus.PndStore) *NorthboundInterface {
 		Core: &core{},
 	}
 }
-
-// NorthboundInterface is the representation of the
-// gRPC services used provided.
-type NorthboundInterface struct {
-	Pnd  *pnd
-	Core *core
-}
-- 
GitLab