From a10a3eb619e7b3ddf7f48a7f34019d2951012ab7 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Wed, 11 Sep 2019 09:26:41 +0200 Subject: [PATCH] Usable variables and functions must start with a capital letter. --- netbox.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox.go b/netbox.go index 356ef2c..f6a3665 100644 --- a/netbox.go +++ b/netbox.go @@ -5,7 +5,7 @@ type NetBox struct { Token string } -func (n *NetBox) new(root, token string) error { +func (n *NetBox) New(root, token string) error { n.RootURL = root n.Token = token