Usable variables and functions must start with a capital letter.

This commit is contained in:
Kalle Carlbark 2019-09-11 09:26:41 +02:00
parent 64cc98fe52
commit a10a3eb619
No known key found for this signature in database
GPG key ID: 3FC0C93C5A5A0670

View file

@ -5,7 +5,7 @@ type NetBox struct {
Token string Token string
} }
func (n *NetBox) new(root, token string) error { func (n *NetBox) New(root, token string) error {
n.RootURL = root n.RootURL = root
n.Token = token n.Token = token