Skip to content

Commit 1d930c4

Browse files
committed
update jsonrpc
1 parent a3fdf6b commit 1d930c4

16 files changed

Lines changed: 112 additions & 58 deletions

cmd/alu/main.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"archive/tar"
55
"fmt"
66
"github.com/BabyEngine/Backend/logger"
7-
"github.com/BabyEngine/Backend/game"
7+
"github.com/BabyEngine/Backend/core"
88
"github.com/BabyEngine/Backend/hotzone"
99
"github.com/DGHeroin/golua/lua"
1010
"io"
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
var (
20-
app *game.Application
20+
app *core.Application
2121
Version string = "v00.00.00"
2222
)
2323

@@ -51,7 +51,7 @@ func printHelp() {
5151
}
5252

5353
func runLuaApp() {
54-
app = game.NewApp()
54+
app = core.NewApp()
5555
if os.Getenv("HotReload") == "true" {
5656
go hotzone.EnableHotRestart(app, runLuaApp)
5757
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"bufio"

game/LuaUtils.go renamed to core/LuaUtils.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"fmt"

game/funcs.go renamed to core/funcs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"bytes"

game/mod_app.go renamed to core/mod_app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"github.com/DGHeroin/golua/lua"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"bytes"

game/mod_cron.go renamed to core/mod_cron.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"github.com/BabyEngine/Backend/jobs"

game/mod_hash.go renamed to core/mod_hash.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"bufio"

game/mod_kv.go renamed to core/mod_kv.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import (
44
"fmt"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package game
1+
package core
22

33
import "github.com/DGHeroin/golua/lua"
44

0 commit comments

Comments
 (0)