refactor: rename go module

This commit is contained in:
Cyrille Nofficial 2022-11-01 20:02:13 +01:00
parent d8bd5d2d52
commit 1a2c6ad5b2
17 changed files with 29 additions and 29 deletions

View File

@ -5,8 +5,8 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/ssdp" "git.cyrilix.bzh/cyrilix/goupnp/ssdp"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ import (
"log" "log"
"net/http" "net/http"
"github.com/huin/goupnp/httpu" "git.cyrilix.bzh/cyrilix/goupnp/httpu"
) )
func main() { func main() {

View File

@ -4,7 +4,7 @@ import (
"fmt" "fmt"
"log" "log"
"github.com/huin/goupnp/dcps/internetgateway1" "git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway1"
) )
func main() { func main() {

View File

@ -3,7 +3,7 @@ package main
import ( import (
"log" "log"
"github.com/huin/goupnp/ssdp" "git.cyrilix.bzh/cyrilix/goupnp/ssdp"
) )
func main() { func main() {

View File

@ -9,9 +9,9 @@ import (
"strings" "strings"
"text/template" "text/template"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/scpd" "git.cyrilix.bzh/cyrilix/goupnp/scpd"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// DCP collects together information about a UPnP Device Control Protocol. // DCP collects together information about a UPnP Device Control Protocol.

View File

@ -15,8 +15,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// Hack to avoid Go complaining if time isn't used. // Hack to avoid Go complaining if time isn't used.

View File

@ -16,8 +16,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// Hack to avoid Go complaining if time isn't used. // Hack to avoid Go complaining if time isn't used.

View File

@ -15,8 +15,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// Hack to avoid Go complaining if time isn't used. // Hack to avoid Go complaining if time isn't used.

View File

@ -15,8 +15,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// Hack to avoid Go complaining if time isn't used. // Hack to avoid Go complaining if time isn't used.

View File

@ -19,8 +19,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// Hack to avoid Go complaining if time isn't used. // Hack to avoid Go complaining if time isn't used.

View File

@ -10,8 +10,8 @@ import (
"net/url" "net/url"
"strings" "strings"
"github.com/huin/goupnp/scpd" "git.cyrilix.bzh/cyrilix/goupnp/scpd"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
const ( const (

View File

@ -5,9 +5,9 @@ import (
"net/url" "net/url"
"os" "os"
"github.com/huin/goupnp" "git.cyrilix.bzh/cyrilix/goupnp"
"github.com/huin/goupnp/dcps/internetgateway1" "git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway1"
"github.com/huin/goupnp/dcps/internetgateway2" "git.cyrilix.bzh/cyrilix/goupnp/dcps/internetgateway2"
) )
// Use discovered WANPPPConnection1 services to find external IP addresses. // Use discovered WANPPPConnection1 services to find external IP addresses.

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/huin/goupnp module git.cyrilix.bzh/cyrilix/goupnp
go 1.14 go 1.14

View File

@ -24,8 +24,8 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/huin/goupnp/httpu" "git.cyrilix.bzh/cyrilix/goupnp/httpu"
"github.com/huin/goupnp/ssdp" "git.cyrilix.bzh/cyrilix/goupnp/ssdp"
) )
// ContextError is an error that wraps an error with some context information. // ContextError is an error that wraps an error with some context information.

View File

@ -4,7 +4,7 @@ import (
"io" "io"
"net" "net"
"github.com/huin/goupnp/httpu" "git.cyrilix.bzh/cyrilix/goupnp/httpu"
) )
// httpuClient creates a HTTPU client that multiplexes to all multicast-capable // httpuClient creates a HTTPU client that multiplexes to all multicast-capable

View File

@ -6,7 +6,7 @@ import (
"net" "net"
"net/url" "net/url"
"github.com/huin/goupnp/soap" "git.cyrilix.bzh/cyrilix/goupnp/soap"
) )
// ServiceClient is a SOAP client, root device and the service for the SOAP // ServiceClient is a SOAP client, root device and the service for the SOAP

View File

@ -10,7 +10,7 @@ import (
"sync" "sync"
"time" "time"
"github.com/huin/goupnp/httpu" "git.cyrilix.bzh/cyrilix/goupnp/httpu"
) )
const ( const (