更新时间:2023-11-29 09:59:58
这是不可能的. Go不提供创建静态未知类型变量的功能.变量的类型始终是静态已知的.考虑改用接口.
This is not possible. Go does not provide functionality to create variables of types that are not known statically. The type of a variable is always known statically. Consider using interfaces instead.