You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ module YourModulePath
116
116
117
117
go1.21// llgo 1.0
118
118
119
-
require github.com/goplus/llgo v0.9.9
119
+
require github.com/goplus/lib v0.2.0
120
120
```
121
121
122
122
Based on LLGo, Go+ can import libraries written in C/C++ and Python.
@@ -151,9 +151,9 @@ Here, `py"Hello world"` is a syntax supported by Go+, representing a Python stri
151
151
152
152
Here are more examples of Go+ calling C/C++ and Python libraries:
153
153
154
-
*[pytensor](demo/_llgo/pytensor/tensor.gop): a simple demo using [py/torch](https://pkg.go.dev/github.com/goplus/llgo/py/torch)
155
-
*[tetris](demo/_llgo/tetris/tetris.gop): a tetris game based on [c/raylib](https://pkg.go.dev/github.com/goplus/llgo/c/raylib)
156
-
*[sqlitedemo](demo/_llgo/sqlitedemo/sqlitedemo.gop): a demo using [c/sqlite](https://pkg.go.dev/github.com/goplus/llgo/c/sqlite)
154
+
*[pytensor](demo/_llgo/pytensor/tensor.gop): a simple demo using [py/torch](https://pkg.go.dev/github.com/goplus/lib/py/torch)
155
+
*[tetris](demo/_llgo/tetris/tetris.gop): a tetris game based on [c/raylib](https://pkg.go.dev/github.com/goplus/lib/c/raylib)
156
+
*[sqlitedemo](demo/_llgo/sqlitedemo/sqlitedemo.gop): a demo using [c/sqlite](https://pkg.go.dev/github.com/goplus/lib/c/sqlite)
157
157
158
158
To find out more about LLGo/Go+'s support for C/C++ and Python in detail, please refer to homepage of [llgo](https://github.com/goplus/llgo).
159
159
@@ -188,7 +188,7 @@ Sound a bit abstract? Let's see some Go+ classfiles.
188
188
* Web Programming: [yaptest: A Go+ HTTP Test Framework](https://github.com/goplus/yap/tree/main/ytest)
189
189
* Web Programming: [ydb: A Go+ Database Framework](https://github.com/goplus/yap/tree/main/ydb)
190
190
* CLI Programming: [cobra: A Commander for modern Go+ CLI interactions](https://github.com/goplus/cobra)
191
-
* CLI Programming: [gsh: An alternative to writing shell scripts](https://github.com/qiniu/x/tree/main/gsh)
191
+
* CLI Programming: [gsh: An alternative to write shell scripts](https://github.com/qiniu/x/tree/main/gsh)
192
192
* Unit Test: [test: Unit Test](https://github.com/goplus/gop/blob/main/doc/classfile.md#classfile-unit-test)
0 commit comments