patch reflect: ValueOf/Int

This commit is contained in:
xushiwei
2024-06-21 00:31:36 +08:00
parent 05031e0979
commit 0e6f5d154e
3 changed files with 480 additions and 4 deletions

View File

@@ -8,4 +8,7 @@ func main() {
v := reflect.Zero(tyIntSlice)
println(v.Len())
v = reflect.ValueOf(100)
println(v.Int())
}