rename module to match github repo

This commit is contained in:
2025-11-14 14:14:32 +00:00
parent e4088e4aec
commit f356d2f7e1
8 changed files with 12 additions and 10 deletions

View File

@@ -6,8 +6,8 @@ import (
"os" "os"
"os/signal" "os/signal"
"git.naterciomoniz.net/applications/broker2anexoj/internal" "github.com/nmoniz/any2anexoj/internal"
"git.naterciomoniz.net/applications/broker2anexoj/internal/trading212" "github.com/nmoniz/any2anexoj/internal/trading212"
"golang.org/x/sync/errgroup" "golang.org/x/sync/errgroup"
) )

2
go.mod
View File

@@ -1,4 +1,4 @@
module git.naterciomoniz.net/applications/broker2anexoj module github.com/nmoniz/any2anexoj
go 1.25.3 go 1.25.3

View File

@@ -1,5 +1,5 @@
// Code generated by MockGen. DO NOT EDIT. // Code generated by MockGen. DO NOT EDIT.
// Source: git.naterciomoniz.net/applications/broker2anexoj/internal (interfaces: RecordReader,Record,ReportWriter) // Source: github.com/nmoniz/any2anexoj/internal (interfaces: RecordReader,Record,ReportWriter)
// //
// Generated by this command: // Generated by this command:
// //
@@ -15,7 +15,7 @@ import (
reflect "reflect" reflect "reflect"
time "time" time "time"
internal "git.naterciomoniz.net/applications/broker2anexoj/internal" internal "github.com/nmoniz/any2anexoj/internal"
gomock "go.uber.org/mock/gomock" gomock "go.uber.org/mock/gomock"
) )

View File

@@ -7,8 +7,8 @@ import (
"testing" "testing"
"time" "time"
"git.naterciomoniz.net/applications/broker2anexoj/internal" "github.com/nmoniz/any2anexoj/internal"
"git.naterciomoniz.net/applications/broker2anexoj/internal/mocks" "github.com/nmoniz/any2anexoj/internal/mocks"
"go.uber.org/mock/gomock" "go.uber.org/mock/gomock"
) )

View File

@@ -8,6 +8,8 @@ import (
"time" "time"
) )
// ReportLogger writes a simple, human readable, line to the provided io.Writer for each
// ReportItem received.
type ReportLogger struct { type ReportLogger struct {
counter int counter int
writer io.Writer writer io.Writer

View File

@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"git.naterciomoniz.net/applications/broker2anexoj/internal" "github.com/nmoniz/any2anexoj/internal"
) )
func TestReportLogger_Write(t *testing.T) { func TestReportLogger_Write(t *testing.T) {

View File

@@ -9,7 +9,7 @@ import (
"strings" "strings"
"time" "time"
"git.naterciomoniz.net/applications/broker2anexoj/internal" "github.com/nmoniz/any2anexoj/internal"
) )
type Record struct { type Record struct {

View File

@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
"git.naterciomoniz.net/applications/broker2anexoj/internal" "github.com/nmoniz/any2anexoj/internal"
) )
func TestRecordReader_ReadRecord(t *testing.T) { func TestRecordReader_ReadRecord(t *testing.T) {