patch: reflect (type)
This commit is contained in:
8
_demo/rtype/rtype.go
Normal file
8
_demo/rtype/rtype.go
Normal file
@@ -0,0 +1,8 @@
|
||||
package main
|
||||
|
||||
import "reflect"
|
||||
|
||||
func main() {
|
||||
tyIntSlice := reflect.SliceOf(reflect.TypeOf(0))
|
||||
println(tyIntSlice.String())
|
||||
}
|
||||
Reference in New Issue
Block a user