我去过readingaboutGolang中的类型别名和组合结构。我希望能够拥有两个结构相同但可以在彼此之间轻松转换的结构。我有一个父结构定义为:typeUserstruct{Emailstring`json:"email"`Passwordstring`json:"password"`}一个组合结构定义为:typePublicUserstruct{*User}我希望如果我定义一个User:a:=User{Email:"admin@example.net",Password:"1234",}然后我可以执行以下类型转换:b:=(a).(PublicUser)但它因无效的类型断言而失败:i