ebsarr / packet

packet, a CLI tool to manage packet.net services
Other
40 stars 14 forks source link

Failed to build since some packngo structures' fields is updated #15

Closed crystaldust closed 6 years ago

crystaldust commented 7 years ago

I tried to build the latest packet project but got the error:

cmd/api.go:161: unknown field 'HostName' in struct literal of type packngo.DeviceCreateRequest
cmd/api.go:188: unknown field 'HostName' in struct literal of type packngo.DeviceCreateRequest

This is caused by some field names update of the packngo project, commit here. Since golang doesn't provide a solid versioning system, I'm not sure if you guys are going to change the reference to fields or make a version constraint?

mmcquillan commented 7 years ago

@crystaldust Should be resolved now that this was merged. https://github.com/ebsarr/packet/pull/16