Skip to content

Commit

Permalink
rename imports
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricve committed Jun 4, 2021
1 parent af24622 commit 37d8a71
Show file tree
Hide file tree
Showing 21 changed files with 67 additions and 36 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/onvif.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Device.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (
"strings"

"github.com/beevik/etree"
"github.com/use-go/onvif/device"
"github.com/use-go/onvif/gosoap"
"github.com/use-go/onvif/networking"
wsdiscovery "github.com/use-go/onvif/ws-discovery"
"github.com/kerberos-io/onvif/device"
"github.com/kerberos-io/onvif/gosoap"
"github.com/kerberos-io/onvif/networking"
wsdiscovery "github.com/kerberos-io/onvif/ws-discovery"
)

//Xlmns XML Scheam
Expand Down
4 changes: 2 additions & 2 deletions Imaging/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package imaging

import (
"github.com/use-go/onvif/xsd"
"github.com/use-go/onvif/xsd/onvif"
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)

type GetServiceCapabilities struct {
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Simple management of onvif IP-devices cameras. onvif is an implementation of ON
To install the library, use **go get**:

```go
go get github.com/use-go/onvif
go get github.com/kerberos-io/onvif

```

Expand Down
4 changes: 2 additions & 2 deletions analytics/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package analytics

import (
"github.com/use-go/onvif/xsd"
"github.com/use-go/onvif/xsd/onvif"
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)

type GetSupportedRules struct {
Expand Down
8 changes: 4 additions & 4 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ import (

"github.com/beevik/etree"
"github.com/gin-gonic/gin"
"github.com/use-go/onvif"
"github.com/use-go/onvif/gosoap"
"github.com/use-go/onvif/networking"
wsdiscovery "github.com/use-go/onvif/ws-discovery"
"github.com/kerberos-io/onvif"
"github.com/kerberos-io/onvif/gosoap"
"github.com/kerberos-io/onvif/networking"
wsdiscovery "github.com/kerberos-io/onvif/ws-discovery"
)

func RunApi() {
Expand Down
6 changes: 3 additions & 3 deletions api/get_structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package api
import (
"errors"

"github.com/use-go/onvif/device"
"github.com/use-go/onvif/media"
"github.com/use-go/onvif/ptz"
"github.com/kerberos-io/onvif/device"
"github.com/kerberos-io/onvif/media"
"github.com/kerberos-io/onvif/ptz"
)

func getPTZStructByName(name string) (interface{}, error) {
Expand Down
4 changes: 2 additions & 2 deletions device/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package device

import (
"github.com/use-go/onvif/xsd"
"github.com/use-go/onvif/xsd/onvif"
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)

type Service struct {
Expand Down
2 changes: 1 addition & 1 deletion event/operation.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package event

import (
"github.com/use-go/onvif/xsd"
"github.com/kerberos-io/onvif/xsd"
)

//GetServiceCapabilities action
Expand Down
2 changes: 1 addition & 1 deletion event/types.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package event

import (
"github.com/use-go/onvif/xsd"
"github.com/kerberos-io/onvif/xsd"
)

//Address Alias
Expand Down
10 changes: 5 additions & 5 deletions examples/DeviceService.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import (
"log"
"net/http"

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"
goonvif "github.com/kerberos-io/onvif"
"github.com/kerberos-io/onvif/device"
"github.com/kerberos-io/onvif/gosoap"
"github.com/kerberos-io/onvif/xsd/onvif"
)

const (
Expand Down Expand Up @@ -65,7 +65,7 @@ func main() {
log.Println(err)
} else {
/*
You could use https://github.com/use-go/onvif/gosoap for pretty printing response
You could use https://github.com/kerberos-io/onvif/gosoap for pretty printing response
*/
fmt.Println(gosoap.SoapMessage(readResponse(createUserResponse)).StringIndent())
}
Expand Down
6 changes: 3 additions & 3 deletions examples/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"testing"

"github.com/beevik/etree"
"github.com/use-go/onvif"
"github.com/use-go/onvif/device"
discover "github.com/use-go/onvif/ws-discovery"
"github.com/kerberos-io/onvif"
"github.com/kerberos-io/onvif/device"
discover "github.com/kerberos-io/onvif/ws-discovery"
)

func TestGetAvailableDevicesAtSpecificEthernetInterface(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/use-go/onvif
module github.com/kerberos-io/onvif

go 1.15

Expand Down
4 changes: 2 additions & 2 deletions media/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package media

import (
"github.com/use-go/onvif/xsd"
"github.com/use-go/onvif/xsd/onvif"
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)

type Capabilities struct {
Expand Down
4 changes: 2 additions & 2 deletions ptz/types.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package ptz

import (
"github.com/use-go/onvif/xsd"
"github.com/use-go/onvif/xsd/onvif"
"github.com/kerberos-io/onvif/xsd"
"github.com/kerberos-io/onvif/xsd/onvif"
)

type Capabilities struct {
Expand Down
2 changes: 1 addition & 1 deletion ws-discovery/ws-discovery.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"strings"

"github.com/beevik/etree"
"github.com/use-go/onvif/gosoap"
"github.com/kerberos-io/onvif/gosoap"
)

func buildProbeMessage(uuidV4 string, scopes, types []string, nmsp map[string]string) gosoap.SoapMessage {
Expand Down
2 changes: 1 addition & 1 deletion xsd/built_in.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"strings"
"time"

"github.com/use-go/onvif/xsd/iso8601"
"github.com/kerberos-io/onvif/xsd/iso8601"
)

/*
Expand Down
2 changes: 1 addition & 1 deletion xsd/onvif/onvif.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package onvif

import (
"github.com/use-go/onvif/xsd"
"github.com/kerberos-io/onvif/xsd"
)

// BUG(r): Enum types implemented as simple string
Expand Down

0 comments on commit 37d8a71

Please sign in to comment.