paultyng/go-unifi

Setting MGMT functions not exported

kurtmc opened this issue · 1 comments

Hey @paultyng is there a reason getSettingMgmt and updateSettingMgmt functions are not exported?

func (c *Client) updateSettingMgmt(ctx context.Context, site string, d *SettingMgmt) (*SettingMgmt, error) {

Edit: I think I understand now. I will create new exported methods.

You probably figured it out but just for any others coming, I haven't tested all of the generated methods so didn't want to export them until I had a reason to do so (and was able to test them in a consumer).