moved config/ -> internal/config

This commit is contained in:
CPunch 2023-12-02 22:09:11 -06:00
parent 58afc9df1f
commit ac62f7d64e
13 changed files with 12 additions and 12 deletions

View File

@ -5,7 +5,7 @@ import (
"flag" "flag"
"log" "log"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/login" "github.com/CPunch/gopenfusion/login"
"github.com/google/subcommands" "github.com/google/subcommands"
) )

View File

@ -6,7 +6,7 @@ import (
"log" "log"
"os" "os"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/internal/db" "github.com/CPunch/gopenfusion/internal/db"
"github.com/CPunch/gopenfusion/internal/redis" "github.com/CPunch/gopenfusion/internal/redis"

View File

@ -5,7 +5,7 @@ import (
"flag" "flag"
"log" "log"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/shard" "github.com/CPunch/gopenfusion/shard"
"github.com/google/subcommands" "github.com/google/subcommands"
) )

View File

@ -11,7 +11,7 @@ import (
"sync" "sync"
"github.com/CPunch/gopenfusion/cnet/protocol" "github.com/CPunch/gopenfusion/cnet/protocol"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
) )
type PacketHandler func(peer *Peer, pkt protocol.Packet) error type PacketHandler func(peer *Peer, pkt protocol.Packet) error

View File

@ -4,7 +4,7 @@ import (
"database/sql" "database/sql"
"github.com/CPunch/gopenfusion/cnet/protocol" "github.com/CPunch/gopenfusion/cnet/protocol"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/blockloop/scan" "github.com/blockloop/scan"
) )

View File

@ -10,7 +10,7 @@ import (
_ "embed" _ "embed"
"fmt" "fmt"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
_ "github.com/lib/pq" _ "github.com/lib/pq"
) )

View File

@ -5,7 +5,7 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
) )
type LoginMetadata struct { type LoginMetadata struct {

View File

@ -7,7 +7,7 @@ package redis
import ( import (
"context" "context"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/redis/go-redis/v9" "github.com/redis/go-redis/v9"
) )

View File

@ -9,7 +9,7 @@ import (
"github.com/CPunch/gopenfusion/cnet" "github.com/CPunch/gopenfusion/cnet"
"github.com/CPunch/gopenfusion/cnet/protocol" "github.com/CPunch/gopenfusion/cnet/protocol"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/internal/db" "github.com/CPunch/gopenfusion/internal/db"
"github.com/CPunch/gopenfusion/internal/redis" "github.com/CPunch/gopenfusion/internal/redis"
"github.com/CPunch/gopenfusion/util" "github.com/CPunch/gopenfusion/util"

View File

@ -4,7 +4,7 @@ import (
"log" "log"
"sync" "sync"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
) )
type ChunkPosition struct { type ChunkPosition struct {

View File

@ -5,7 +5,7 @@ import (
"log" "log"
"os" "os"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/shard/entity" "github.com/CPunch/gopenfusion/shard/entity"
) )

View File

@ -5,7 +5,7 @@ import (
"github.com/CPunch/gopenfusion/cnet" "github.com/CPunch/gopenfusion/cnet"
"github.com/CPunch/gopenfusion/cnet/protocol" "github.com/CPunch/gopenfusion/cnet/protocol"
"github.com/CPunch/gopenfusion/config" "github.com/CPunch/gopenfusion/internal/config"
"github.com/CPunch/gopenfusion/internal/db" "github.com/CPunch/gopenfusion/internal/db"
"github.com/CPunch/gopenfusion/internal/redis" "github.com/CPunch/gopenfusion/internal/redis"
"github.com/CPunch/gopenfusion/shard/entity" "github.com/CPunch/gopenfusion/shard/entity"