2
2
鏡像自 https://github.com/Hilbis/Hilbish synced 2025-07-10 21:12:02 +00:00

fix: int64/int mixup, missing imports

This commit is contained in:
sammyette 2024-07-21 11:40:13 -04:00
父節點 1f9fd80fbb
當前提交 29ac92dc0b
簽署人: sammyette
GPG 金鑰 ID: 904FC49417B44DCD
共有 3 個檔案被更改,包括 5 行新增2 行删除

查看文件

@ -5,6 +5,7 @@ import (
"fmt" "fmt"
"hilbish/moonlight" "hilbish/moonlight"
rt "github.com/arnodel/golua/runtime"
) )
func handleLua(input string) (string, uint8, error) { func handleLua(input string) (string, uint8, error) {

查看文件

@ -24,8 +24,8 @@ func StringValue(str string) Value {
return rt.StringValue(str) return rt.StringValue(str)
} }
func IntValue(i int) Value { func IntValue(i int64) Value {
return rt.IntValue(int64(i)) return rt.IntValue(i)
} }
func BoolValue(b bool) Value { func BoolValue(b bool) Value {

查看文件

@ -2,6 +2,8 @@
package main package main
import ( import (
"hilbish/util"
rt "github.com/arnodel/golua/runtime" rt "github.com/arnodel/golua/runtime"
"github.com/maxlandon/readline" "github.com/maxlandon/readline"
) )