Refactor import paths to use the full repository URL and remove obsolete GitHub Actions workflow file

This commit is contained in:
2026-02-19 12:30:21 +11:00
parent 5cc8a0d7db
commit bdcb8e6f73
12 changed files with 104 additions and 83 deletions

View File

@@ -1,7 +1,7 @@
package cli
import (
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
"github.com/sirupsen/logrus"
)

View File

@@ -9,7 +9,7 @@ import (
"sync"
"time"
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/sirupsen/logrus"
)

View File

@@ -3,7 +3,7 @@ package mqttclient
import (
"testing"
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
"github.com/stretchr/testify/assert"
)

View File

@@ -36,7 +36,7 @@ import (
"net/http"
"time"
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
"github.com/sirupsen/logrus"
)

View File

@@ -6,7 +6,7 @@ import (
"net/http/httptest"
"testing"
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
)
func TestServer(_ *testing.T) {

View File

@@ -31,7 +31,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
package prometheus
import (
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
"github.com/prometheus/client_golang/prometheus"
)

View File

@@ -38,8 +38,8 @@ import (
"sync"
"time"
"invertergui/mk2driver"
"invertergui/websocket"
"git.coadcorp.com/nathan/invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/websocket"
"github.com/sirupsen/logrus"
)

View File

@@ -36,7 +36,7 @@ import (
"testing"
"time"
"invertergui/mk2driver"
"git.coadcorp.com/nathan/invertergui/mk2driver"
)
type templateTest struct {