mirror of
https://github.com/kerberos-io/onvif.git
synced 2025-10-05 15:56:50 +08:00
simple mod to github.com/use-go/onvif
This commit is contained in:
@@ -6,10 +6,10 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
|
||||
"github.com/use-go/goonvif"
|
||||
"github.com/use-go/goonvif/device"
|
||||
"github.com/use-go/goonvif/xsd/onvif"
|
||||
"github.com/yakovlevdmv/gosoap"
|
||||
goonvif "github.com/use-go/onvif"
|
||||
"github.com/use-go/onvif/device"
|
||||
"github.com/use-go/onvif/gosoap"
|
||||
"github.com/use-go/onvif/xsd/onvif"
|
||||
)
|
||||
|
||||
const (
|
||||
@@ -62,7 +62,7 @@ func main() {
|
||||
log.Println(err)
|
||||
} else {
|
||||
/*
|
||||
You could use https://github.com/yakovlevdmv/gosoap for pretty printing response
|
||||
You could use https://github.com/use-go/onvif/gosoap for pretty printing response
|
||||
*/
|
||||
fmt.Println(gosoap.SoapMessage(readResponse(createUserResponse)).StringIndent())
|
||||
}
|
||||
|
Reference in New Issue
Block a user