摘要:
nil is a predeclared identifier representing the zero value for a pointer, channel, func, interface, map, or slice type.Type must be a pointer, channe 阅读全文
摘要:
package mainimport "fmt"type str struct { Str string}func main() { var s *int var i interface{} = s fmt.Println(&s) var x interface{} = &str{} var ss 阅读全文