patch: reflect (type)

This commit is contained in:
xushiwei
2024-06-20 14:17:37 +08:00
parent f7d7f81c49
commit f8b0a7105b
9 changed files with 1204 additions and 26 deletions

8
_demo/rtype/rtype.go Normal file
View File

@@ -0,0 +1,8 @@
package main
import "reflect"
func main() {
tyIntSlice := reflect.SliceOf(reflect.TypeOf(0))
println(tyIntSlice.String())
}