update internetgateway1 example to build on go1.4
the Service field on the ServiceClient is already *goupnp.Service, so taking the address makes it a **goupnp.Service which no longer will dereference to call methods on type *goupnp.Service like String and RequestSCDP.
This commit is contained in:
		| @@ -21,7 +21,7 @@ func main() { | ||||
|  | ||||
| 	for _, c := range clients { | ||||
| 		dev := &c.ServiceClient.RootDevice.Device | ||||
| 		srv := &c.ServiceClient.Service | ||||
| 		srv := c.ServiceClient.Service | ||||
| 		fmt.Println(dev.FriendlyName, " :: ", srv.String()) | ||||
| 		scpd, err := srv.RequestSCDP() | ||||
| 		if err != nil { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user