Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

c02/c02_07 #30

Open
utterances-bot opened this issue Mar 20, 2022 · 3 comments
Open

c02/c02_07 #30

utterances-bot opened this issue Mar 20, 2022 · 3 comments

Comments

@utterances-bot
Copy link

2.7 学习反射:反射三定律 — Go编程时光 1.0.0 documentation

https://golang.iswbm.com/c02/c02_07.html

Copy link

wudi24k commented Mar 20, 2022

fmt.Println("v2 Type: ", v1.Elem())

请问v1的type为啥是字符串的值啊?

Copy link

sincof commented Apr 30, 2022

不知道怎么回复,应该是这样输出type的,而且你的debug的串口应该能看到两个都是reflect.value

fmt.Printf("v2 Type: %T\n", v1.Elem())

@wudi24k
Copy link

wudi24k commented Jul 23, 2022

好的,谢谢您

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants