Skip to content

Commit 65b3a79

Browse files
committed
work with go 1.20
1 parent f68c85b commit 65b3a79

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

go.mod

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
module github.com/gotray/go-python
22

3-
go 1.21
4-
5-
toolchain go1.23.2
3+
go 1.20
64

75
require (
86
github.com/fatih/color v1.18.0

python.go

-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ func EvalCode(code Object, globals, locals Dict) Object {
5959

6060
// ----------------------------------------------------------------------------
6161

62-
// llgo:link cast llgo.staticCast
6362
func cast[U, T Objecter](from T) (to U) {
6463
*(*T)(unsafe.Pointer(&to)) = from
6564
return

0 commit comments

Comments
 (0)