Make utils a subpackage of soapcalls
This commit is contained in:
@@ -20,7 +20,7 @@ import (
|
||||
"github.com/alexballas/go2tv/devices"
|
||||
"github.com/alexballas/go2tv/httphandlers"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -23,7 +23,7 @@ import (
|
||||
"github.com/alexballas/go2tv/internal/gui"
|
||||
"github.com/alexballas/go2tv/internal/interactive"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@@ -16,7 +16,7 @@ import (
|
||||
"time"
|
||||
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
// HTTPserver - new http.Server instance.
|
||||
|
@@ -24,7 +24,7 @@ import (
|
||||
"github.com/alexballas/go2tv/devices"
|
||||
"github.com/alexballas/go2tv/httphandlers"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
"github.com/pkg/errors"
|
||||
"github.com/skratchdot/open-golang/open"
|
||||
)
|
||||
|
@@ -19,7 +19,7 @@ import (
|
||||
"github.com/alexballas/go2tv/devices"
|
||||
"github.com/alexballas/go2tv/httphandlers"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
@@ -22,7 +22,7 @@ import (
|
||||
"fyne.io/fyne/v2/widget"
|
||||
"github.com/alexballas/go2tv/devices"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
"golang.org/x/time/rate"
|
||||
)
|
||||
|
||||
|
@@ -17,7 +17,7 @@ import (
|
||||
"fyne.io/fyne/v2/widget"
|
||||
"github.com/alexballas/go2tv/devices"
|
||||
"github.com/alexballas/go2tv/soapcalls"
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
func mainWindow(s *NewScreen) fyne.CanvasObject {
|
||||
|
@@ -8,7 +8,7 @@ import (
|
||||
"regexp"
|
||||
"strings"
|
||||
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
|
@@ -3,7 +3,7 @@ package soapcalls
|
||||
import (
|
||||
"testing"
|
||||
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
func TestSetAVTransportSoapBuild(t *testing.T) {
|
||||
|
@@ -5,7 +5,7 @@ import (
|
||||
"net/url"
|
||||
"time"
|
||||
|
||||
"github.com/alexballas/go2tv/utils"
|
||||
"github.com/alexballas/go2tv/soapcalls/utils"
|
||||
)
|
||||
|
||||
type Options struct {
|
||||
|
Reference in New Issue
Block a user