Usable variables and functions must start with a capital letter.
This commit is contained in:
parent
64cc98fe52
commit
a10a3eb619
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue