Make utils a subpackage of soapcalls

This commit is contained in:
Alex Ballas
2023-05-01 19:46:41 +03:00
parent 95883a8d3d
commit fd61a75082
23 changed files with 10 additions and 10 deletions

View File

@@ -20,7 +20,7 @@ import (
"github.com/alexballas/go2tv/devices" "github.com/alexballas/go2tv/devices"
"github.com/alexballas/go2tv/httphandlers" "github.com/alexballas/go2tv/httphandlers"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
var ( var (

View File

@@ -23,7 +23,7 @@ import (
"github.com/alexballas/go2tv/internal/gui" "github.com/alexballas/go2tv/internal/gui"
"github.com/alexballas/go2tv/internal/interactive" "github.com/alexballas/go2tv/internal/interactive"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
var ( var (

View File

@@ -16,7 +16,7 @@ import (
"time" "time"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
// HTTPserver - new http.Server instance. // HTTPserver - new http.Server instance.

View File

@@ -24,7 +24,7 @@ import (
"github.com/alexballas/go2tv/devices" "github.com/alexballas/go2tv/devices"
"github.com/alexballas/go2tv/httphandlers" "github.com/alexballas/go2tv/httphandlers"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
"github.com/pkg/errors" "github.com/pkg/errors"
"github.com/skratchdot/open-golang/open" "github.com/skratchdot/open-golang/open"
) )

View File

@@ -19,7 +19,7 @@ import (
"github.com/alexballas/go2tv/devices" "github.com/alexballas/go2tv/devices"
"github.com/alexballas/go2tv/httphandlers" "github.com/alexballas/go2tv/httphandlers"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -22,7 +22,7 @@ import (
"fyne.io/fyne/v2/widget" "fyne.io/fyne/v2/widget"
"github.com/alexballas/go2tv/devices" "github.com/alexballas/go2tv/devices"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
"golang.org/x/time/rate" "golang.org/x/time/rate"
) )

View File

@@ -17,7 +17,7 @@ import (
"fyne.io/fyne/v2/widget" "fyne.io/fyne/v2/widget"
"github.com/alexballas/go2tv/devices" "github.com/alexballas/go2tv/devices"
"github.com/alexballas/go2tv/soapcalls" "github.com/alexballas/go2tv/soapcalls"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
func mainWindow(s *NewScreen) fyne.CanvasObject { func mainWindow(s *NewScreen) fyne.CanvasObject {

View File

@@ -8,7 +8,7 @@ import (
"regexp" "regexp"
"strings" "strings"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
"github.com/pkg/errors" "github.com/pkg/errors"
) )

View File

@@ -3,7 +3,7 @@ package soapcalls
import ( import (
"testing" "testing"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
func TestSetAVTransportSoapBuild(t *testing.T) { func TestSetAVTransportSoapBuild(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/url" "net/url"
"time" "time"
"github.com/alexballas/go2tv/utils" "github.com/alexballas/go2tv/soapcalls/utils"
) )
type Options struct { type Options struct {