fix urls
This commit is contained in:
parent
17bb653939
commit
7332fd6fad
24 changed files with 45 additions and 45 deletions
|
@ -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() {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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{
|
||||
|
|
|
@ -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
2
go.mod
|
@ -1,4 +1,4 @@
|
|||
module github.com/genudine/saerro-go
|
||||
module git.sapphic.engineer/ps2.live/saerro-go
|
||||
|
||||
go 1.22.3
|
||||
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
package types
|
||||
|
||||
import (
|
||||
"github.com/genudine/saerro-go/translators"
|
||||
"git.sapphic.engineer/ps2.live/saerro-go/translators"
|
||||
)
|
||||
|
||||
type PopEvent struct {
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
|
@ -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"
|
||||
)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue