update module name to reflect repo

This commit is contained in:
CPunch 2023-03-10 01:02:28 -06:00
parent bf1e9d1350
commit 52f0c4b1c7
9 changed files with 16 additions and 16 deletions

View File

@ -5,7 +5,7 @@ import (
"golang.org/x/crypto/bcrypt" "golang.org/x/crypto/bcrypt"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
"github.com/blockloop/scan" "github.com/blockloop/scan"
) )

View File

@ -3,7 +3,7 @@ package db
import ( import (
"database/sql" "database/sql"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
) )
type Inventory struct { type Inventory struct {

View File

@ -3,8 +3,8 @@ package db
import ( import (
"database/sql" "database/sql"
"github.com/CPunch/GopenFusion/config" "github.com/CPunch/gopenfusion/config"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
"github.com/blockloop/scan" "github.com/blockloop/scan"
) )

2
go.mod
View File

@ -1,4 +1,4 @@
module github.com/CPunch/GopenFusion module github.com/CPunch/gopenfusion
go 1.19 go 1.19

View File

@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/CPunch/GopenFusion/db" "github.com/CPunch/gopenfusion/db"
"github.com/CPunch/GopenFusion/server" "github.com/CPunch/gopenfusion/server"
) )
func main() { func main() {

View File

@ -5,10 +5,10 @@ import (
"fmt" "fmt"
"time" "time"
"github.com/CPunch/GopenFusion/config" "github.com/CPunch/gopenfusion/config"
"github.com/CPunch/GopenFusion/db" "github.com/CPunch/gopenfusion/db"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
"github.com/CPunch/GopenFusion/util" "github.com/CPunch/gopenfusion/util"
) )
const ( const (

View File

@ -5,7 +5,7 @@ import (
"net" "net"
"sync" "sync"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
) )
type LoginServer struct { type LoginServer struct {

View File

@ -6,8 +6,8 @@ import (
"log" "log"
"net" "net"
"github.com/CPunch/GopenFusion/db" "github.com/CPunch/gopenfusion/db"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
) )
const ( const (

View File

@ -1,8 +1,8 @@
package util package util
import ( import (
"github.com/CPunch/GopenFusion/db" "github.com/CPunch/gopenfusion/db"
"github.com/CPunch/GopenFusion/protocol" "github.com/CPunch/gopenfusion/protocol"
) )
func Player2PCStyle(plr *db.Player) (protocol.SPCStyle, protocol.SPCStyle2) { func Player2PCStyle(plr *db.Player) (protocol.SPCStyle, protocol.SPCStyle2) {