README: reflect (partially)

This commit is contained in:
xushiwei
2024-06-20 22:24:03 +08:00
parent 32883b4e18
commit f8335c6df9
2 changed files with 2 additions and 8 deletions

View File

@@ -213,6 +213,7 @@ Here are the Go packages that can be imported correctly:
* [sync](https://pkg.go.dev/sync) (partially)
* [syscall](https://pkg.go.dev/syscall) (partially)
* [os](https://pkg.go.dev/os) (partially)
* [reflect](https://pkg.go.dev/reflect) (partially)
## Dependencies

View File

@@ -423,14 +423,7 @@ var kindNames = []string{
}
func (t *rtype) String() string {
/*
s := t.nameOff(t.t.Str).Name()
if t.t.TFlag&abi.TFlagExtraStar != 0 {
return s[1:]
}
return s
*/
panic("todo")
return t.t.String()
}
func (t *rtype) Size() uintptr { return t.t.Size() }