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:
Jeff 2014-12-11 12:44:49 -07:00
parent ecfaac0e3a
commit f6cef970a4

View File

@ -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 {