Merge pull request #3 from zeebo/patch-1
update internetgateway1 example to build on go1.4
This commit is contained in:
commit
2230083611
@ -21,7 +21,7 @@ func main() {
|
|||||||
|
|
||||||
for _, c := range clients {
|
for _, c := range clients {
|
||||||
dev := &c.ServiceClient.RootDevice.Device
|
dev := &c.ServiceClient.RootDevice.Device
|
||||||
srv := &c.ServiceClient.Service
|
srv := c.ServiceClient.Service
|
||||||
fmt.Println(dev.FriendlyName, " :: ", srv.String())
|
fmt.Println(dev.FriendlyName, " :: ", srv.String())
|
||||||
scpd, err := srv.RequestSCDP()
|
scpd, err := srv.RequestSCDP()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user