rename package.

This commit is contained in:
Miroslav Šedivý 2024-09-06 23:26:29 +02:00
parent 168507dcd4
commit 15e805c9b2
99 changed files with 267 additions and 256 deletions

View file

@ -7,8 +7,8 @@ import (
"net/http"
"strings"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/utils"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/utils"
)
type BatchRequest struct {

View file

@ -6,7 +6,7 @@ import (
"github.com/go-chi/chi"
"github.com/demodesk/neko/pkg/types"
"m1k1o/neko/pkg/types"
)
func pprofHandler(r types.Router) {

View file

@ -5,13 +5,14 @@ import (
"fmt"
"net/http"
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
oldEvent "m1k1o/neko/internal/http/legacy/event"
oldMessage "m1k1o/neko/internal/http/legacy/message"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/types/event"
"m1k1o/neko/pkg/types/message"
"m1k1o/neko/pkg/utils"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/types/event"
"github.com/demodesk/neko/pkg/types/message"
"github.com/demodesk/neko/pkg/utils"
"github.com/gorilla/websocket"
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"

View file

@ -1,7 +1,7 @@
package message
import (
"github.com/demodesk/neko/internal/http/legacy/types"
"m1k1o/neko/internal/http/legacy/types"
"github.com/pion/webrtc/v3"
)

View file

@ -8,10 +8,11 @@ import (
"net/http"
"strings"
oldTypes "github.com/demodesk/neko/internal/http/legacy/types"
oldTypes "m1k1o/neko/internal/http/legacy/types"
"m1k1o/neko/internal/api"
"m1k1o/neko/pkg/types"
"github.com/demodesk/neko/internal/api"
"github.com/demodesk/neko/pkg/types"
"github.com/gorilla/websocket"
"github.com/rs/zerolog"
)

View file

@ -8,15 +8,15 @@ import (
"github.com/gorilla/websocket"
"github.com/pion/webrtc/v3"
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
oldEvent "m1k1o/neko/internal/http/legacy/event"
oldMessage "m1k1o/neko/internal/http/legacy/message"
"github.com/demodesk/neko/internal/api/room"
"github.com/demodesk/neko/internal/plugins/chat"
"github.com/demodesk/neko/internal/plugins/filetransfer"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/types/event"
"github.com/demodesk/neko/pkg/types/message"
"m1k1o/neko/internal/api/room"
"m1k1o/neko/internal/plugins/chat"
"m1k1o/neko/internal/plugins/filetransfer"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/types/event"
"m1k1o/neko/pkg/types/message"
)
func (s *session) wsToBackend(msg []byte) error {

View file

@ -7,15 +7,15 @@ import (
"github.com/pion/webrtc/v3"
oldEvent "github.com/demodesk/neko/internal/http/legacy/event"
oldMessage "github.com/demodesk/neko/internal/http/legacy/message"
oldTypes "github.com/demodesk/neko/internal/http/legacy/types"
oldEvent "m1k1o/neko/internal/http/legacy/event"
oldMessage "m1k1o/neko/internal/http/legacy/message"
oldTypes "m1k1o/neko/internal/http/legacy/types"
"github.com/demodesk/neko/internal/plugins/chat"
"github.com/demodesk/neko/internal/plugins/filetransfer"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/types/event"
"github.com/demodesk/neko/pkg/types/message"
"m1k1o/neko/internal/plugins/chat"
"m1k1o/neko/internal/plugins/filetransfer"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/types/event"
"m1k1o/neko/pkg/types/message"
)
func profileToMember(id string, profile types.MemberProfile) (*oldTypes.Member, error) {

View file

@ -8,8 +8,8 @@ import (
"github.com/go-chi/chi/middleware"
"github.com/rs/zerolog"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/utils"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/utils"
)
type logFormatter struct {

View file

@ -9,9 +9,9 @@ import (
"github.com/rs/zerolog"
"github.com/rs/zerolog/log"
"github.com/demodesk/neko/internal/config"
"github.com/demodesk/neko/internal/http/legacy"
"github.com/demodesk/neko/pkg/types"
"m1k1o/neko/internal/config"
"m1k1o/neko/internal/http/legacy"
"m1k1o/neko/pkg/types"
)
type HttpManagerCtx struct {

View file

@ -8,9 +8,9 @@ import (
"github.com/go-chi/cors"
"github.com/rs/zerolog"
"github.com/demodesk/neko/pkg/auth"
"github.com/demodesk/neko/pkg/types"
"github.com/demodesk/neko/pkg/utils"
"m1k1o/neko/pkg/auth"
"m1k1o/neko/pkg/types"
"m1k1o/neko/pkg/utils"
)
type RouterOption func(*router)