Merge pull request #3 from zeebo/patch-1

update internetgateway1 example to build on go1.4
This commit is contained in:
Huin 2014-12-11 21:15:49 +00:00
commit 2230083611

View File

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