update outdated github.com/goplus/llgo/c references

This commit is contained in:
Li Jie
2025-04-17 09:58:22 +08:00
parent a56129d675
commit 5a13e7400e
8 changed files with 16 additions and 16 deletions

View File

@@ -2,7 +2,4 @@ module github.com/goplus/llgo/runtime
go 1.20 go 1.20
require ( require github.com/qiniu/x v1.13.12
github.com/goplus/llgo v0.10.1
github.com/qiniu/x v1.13.12
)

View File

@@ -1,4 +1,2 @@
github.com/goplus/llgo v0.10.1 h1:Cla7Rv6S67SnAknMm8nNvHhxFf9Fo/daHRcs3w3rS6s=
github.com/goplus/llgo v0.10.1/go.mod h1:YfOHsT/g3lc9b4GclLj812YzdSsJr0kd3CCB830TqHE=
github.com/qiniu/x v1.13.12 h1:UyAwja6dgKUOYWZMzzc02wLodwnZ7wmK/0XzRd0e78g= github.com/qiniu/x v1.13.12 h1:UyAwja6dgKUOYWZMzzc02wLodwnZ7wmK/0XzRd0e78g=
github.com/qiniu/x v1.13.12/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E= github.com/qiniu/x v1.13.12/go.mod h1:INZ2TSWSJVWO/RuELQROERcslBwVgFG7MkTfEdaQz9E=

View File

@@ -1,8 +1,8 @@
package main package main
import ( import (
"github.com/goplus/llgo/c" "github.com/goplus/lib/c"
"github.com/goplus/llgo/c/libuv" "github.com/goplus/lib/c/libuv"
) )
func ensure(b bool, msg string) { func ensure(b bool, msg string) {

View File

@@ -3,9 +3,9 @@ package main
import ( import (
"unsafe" "unsafe"
"github.com/goplus/llgo/c" "github.com/goplus/lib/c"
"github.com/goplus/llgo/c/libuv" "github.com/goplus/lib/c/libuv"
"github.com/goplus/llgo/c/os" "github.com/goplus/lib/c/os"
) )
const BUFFER_SIZE = 1024 const BUFFER_SIZE = 1024

View File

@@ -1,9 +1,9 @@
package main package main
import ( import (
"github.com/goplus/llgo/c" "github.com/goplus/lib/c"
"github.com/goplus/llgo/c/libuv" "github.com/goplus/lib/c/libuv"
"github.com/goplus/llgo/c/net" "github.com/goplus/lib/c/net"
) )
var DEFAULT_PORT c.Int = 8080 var DEFAULT_PORT c.Int = 8080

View File

@@ -0,0 +1,5 @@
module github.com/goplus/llgo/runtime/internal/clite/libuv/_demo
go 1.24.2
require github.com/goplus/lib v0.2.0

View File

@@ -0,0 +1,2 @@
github.com/goplus/lib v0.2.0 h1:AjqkN1XK5H23wZMMlpaUYAMCDAdSBQ2NMFrLtSh7W4g=
github.com/goplus/lib v0.2.0/go.mod h1:SgJv3oPqLLHCu0gcL46ejOP3x7/2ry2Jtxu7ta32kp0=

View File

@@ -10,8 +10,6 @@ import "C"
import ( import (
"runtime" "runtime"
"unsafe" "unsafe"
_ "github.com/goplus/llgo/c"
) )
var mode C.mode_t var mode C.mode_t