This commit is contained in:
41666 2024-11-13 21:12:33 -08:00
parent 17bb653939
commit 7332fd6fad
24 changed files with 45 additions and 45 deletions

View file

@ -7,8 +7,8 @@ import (
"sync"
"time"
"github.com/genudine/saerro-go/store"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/store"
"git.sapphic.engineer/ps2.live/saerro-go/util"
)
func main() {

View file

@ -5,7 +5,7 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/store/storemock"
"git.sapphic.engineer/ps2.live/saerro-go/store/storemock"
)
func TestRun(t *testing.T) {

View file

@ -8,10 +8,10 @@ import (
"strconv"
"testing"
"github.com/genudine/saerro-go/cmd/ws/eventhandler"
"github.com/genudine/saerro-go/translators"
"github.com/genudine/saerro-go/types"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/eventhandler"
"git.sapphic.engineer/ps2.live/saerro-go/translators"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/util"
)
const PreloadedCharacterCount = 45

View file

@ -4,9 +4,9 @@ import (
"context"
"database/sql"
"github.com/genudine/saerro-go/cmd/ws/ingest"
"github.com/genudine/saerro-go/store"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/ingest"
"git.sapphic.engineer/ps2.live/saerro-go/store"
"git.sapphic.engineer/ps2.live/saerro-go/types"
)
type IEventHandler interface {

View file

@ -5,9 +5,9 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/cmd/ws/ingest"
"github.com/genudine/saerro-go/store/storemock"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/ingest"
"git.sapphic.engineer/ps2.live/saerro-go/store/storemock"
"git.sapphic.engineer/ps2.live/saerro-go/types"
)
func getEventHandlerTestShim(t *testing.T) (EventHandler, context.Context, *storemock.MockPlayerStore, *storemock.MockVehicleStore) {

View file

@ -5,8 +5,8 @@ import (
"fmt"
"log"
"github.com/genudine/saerro-go/store"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/store"
"git.sapphic.engineer/ps2.live/saerro-go/types"
)
type IIngest interface {

View file

@ -6,10 +6,10 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/cmd/ws/ingest"
"github.com/genudine/saerro-go/store/storemock"
"github.com/genudine/saerro-go/translators"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/ingest"
"git.sapphic.engineer/ps2.live/saerro-go/store/storemock"
"git.sapphic.engineer/ps2.live/saerro-go/translators"
"git.sapphic.engineer/ps2.live/saerro-go/types"
)
func mkIngest(t *testing.T) (context.Context, *ingest.Ingest, *storemock.MockPlayerStore, *storemock.MockVehicleStore) {

View file

@ -8,9 +8,9 @@ import (
"syscall"
"time"
"github.com/genudine/saerro-go/cmd/ws/eventhandler"
"github.com/genudine/saerro-go/cmd/ws/wsmanager"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/eventhandler"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/wsmanager"
"git.sapphic.engineer/ps2.live/saerro-go/util"
)
func main() {

View file

@ -3,7 +3,7 @@ package wsmanager
import (
"fmt"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/util"
)
var experienceIDs = []int{

View file

@ -8,9 +8,9 @@ import (
"log"
"time"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/eventhandler"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/coder/websocket"
"github.com/genudine/saerro-go/cmd/ws/eventhandler"
"github.com/genudine/saerro-go/types"
)
type WebsocketManager struct {

2
go.mod
View file

@ -1,4 +1,4 @@
module github.com/genudine/saerro-go
module git.sapphic.engineer/ps2.live/saerro-go
go 1.22.3

View file

@ -9,9 +9,9 @@ import (
"syscall"
"time"
"github.com/genudine/saerro-go/cmd/ws/eventhandler"
"github.com/genudine/saerro-go/cmd/ws/wsmanager"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/eventhandler"
"git.sapphic.engineer/ps2.live/saerro-go/cmd/ws/wsmanager"
"git.sapphic.engineer/ps2.live/saerro-go/types"
)
func main() {

View file

@ -6,7 +6,7 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/util/testutil"
"git.sapphic.engineer/ps2.live/saerro-go/util/testutil"
)
func mkEnv(t *testing.T) (context.Context, *sql.DB) {

View file

@ -6,8 +6,8 @@ import (
"log"
"time"
"github.com/genudine/saerro-go/types"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/util"
"github.com/avast/retry-go"
)

View file

@ -4,8 +4,8 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/store"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/store"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"database/sql"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/stretchr/testify/mock"
)

View file

@ -4,7 +4,7 @@ import (
"context"
"database/sql"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/stretchr/testify/mock"
)

View file

@ -6,8 +6,8 @@ import (
"log"
"time"
"github.com/genudine/saerro-go/types"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/util"
"github.com/avast/retry-go"
)

View file

@ -4,8 +4,8 @@ import (
"testing"
"time"
"github.com/genudine/saerro-go/store"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/store"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package translators_test
import (
"testing"
"github.com/genudine/saerro-go/translators"
"git.sapphic.engineer/ps2.live/saerro-go/translators"
"github.com/stretchr/testify/assert"
)

View file

@ -3,7 +3,7 @@ package translators_test
import (
"testing"
"github.com/genudine/saerro-go/translators"
"git.sapphic.engineer/ps2.live/saerro-go/translators"
"github.com/stretchr/testify/assert"
)

View file

@ -2,7 +2,7 @@
package types
import (
"github.com/genudine/saerro-go/translators"
"git.sapphic.engineer/ps2.live/saerro-go/translators"
)
type PopEvent struct {

View file

@ -3,7 +3,7 @@ package types_test
import (
"testing"
"github.com/genudine/saerro-go/types"
"git.sapphic.engineer/ps2.live/saerro-go/types"
"github.com/stretchr/testify/assert"
)

View file

@ -4,7 +4,7 @@ import (
"strconv"
"testing"
"github.com/genudine/saerro-go/util"
"git.sapphic.engineer/ps2.live/saerro-go/util"
"github.com/stretchr/testify/assert"
)